feat: add auth config fields (SECRET_KEY, LDAP_*)

This commit is contained in:
Oliver Hofmann
2026-04-27 09:30:21 +02:00
parent 8d7f9df6fc
commit 60c21b46de
4 changed files with 26 additions and 3 deletions
+5
View File
@@ -9,6 +9,11 @@ class Settings(BaseSettings):
APP_ENV: str = "development"
APP_PREFIX: str = ""
DATABASE_URL: str = "sqlite:///./app.db"
SECRET_KEY: str = "changeme-replace-in-production"
LDAP_ENABLED: bool = False
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"
@lru_cache