feat: reset admin user from config on every app startup

This commit is contained in:
Oliver Hofmann
2026-04-27 13:14:07 +02:00
parent 05468edf9a
commit 89e060f9d2
3 changed files with 31 additions and 0 deletions
+2
View File
@@ -14,6 +14,8 @@ class Settings(BaseSettings):
LDAP_SERVER: str = "gso1.ads1.fh-nuernberg.de"
LDAP_DOMAIN: str = "ADS1"
LDAP_SEARCH_BASE: str = "OU=users,OU=EFI,OU=Faculties,DC=ADS1,DC=fh-nuernberg,DC=de"
ADMIN_USERNAME: str = "admin"
ADMIN_PASSWORD: str = "change_me"
@lru_cache