Fix: Restore admin auto-creation with defaults admin/admin123
This commit is contained in:
@@ -28,8 +28,8 @@ class Settings(BaseSettings):
|
|||||||
HOST: str = "0.0.0.0"
|
HOST: str = "0.0.0.0"
|
||||||
PORT: int = 8000
|
PORT: int = 8000
|
||||||
LOG_LEVEL: str = "INFO"
|
LOG_LEVEL: str = "INFO"
|
||||||
INITIAL_ADMIN_USERNAME: str = "" # Empty = don't create admin automatically
|
INITIAL_ADMIN_USERNAME: str = "admin" # Auto-created admin user
|
||||||
INITIAL_ADMIN_PASSWORD: str = ""
|
INITIAL_ADMIN_PASSWORD: str = "admin123"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def resolved_database_url(self) -> str:
|
def resolved_database_url(self) -> str:
|
||||||
|
|||||||
Reference in New Issue
Block a user