mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-02-03 02:25:32 +08:00
fix(auth): set empty avatar to avoid missing default avatar
This commit is contained in:
@@ -40,7 +40,7 @@ def upgrade() -> None:
|
||||
hashed_password=get_password_hash(random_password),
|
||||
email="admin@movie-pilot.org",
|
||||
is_superuser=True,
|
||||
avatar="src/assets/images/avatars/avatar-1.png"
|
||||
avatar=""
|
||||
)
|
||||
_user.create(db)
|
||||
# 初始化本地存储
|
||||
|
||||
Reference in New Issue
Block a user