From 957f9bee2a67f4280ab09b3d1e6cb73f48c9069d Mon Sep 17 00:00:00 2001 From: Motoko Date: Mon, 30 Mar 2026 17:07:16 +0000 Subject: [PATCH] Fix: Restore admin auto-creation with defaults admin/admin123 --- app/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/config.py b/app/config.py index 0e3f008..c437dc1 100644 --- a/app/config.py +++ b/app/config.py @@ -28,8 +28,8 @@ class Settings(BaseSettings): HOST: str = "0.0.0.0" PORT: int = 8000 LOG_LEVEL: str = "INFO" - INITIAL_ADMIN_USERNAME: str = "" # Empty = don't create admin automatically - INITIAL_ADMIN_PASSWORD: str = "" + INITIAL_ADMIN_USERNAME: str = "admin" # Auto-created admin user + INITIAL_ADMIN_PASSWORD: str = "admin123" @property def resolved_database_url(self) -> str: