feat: update authentication defaults to LOCAL

- Changed default AUTH_TYPE in backend configuration to "LOCAL".
- Updated frontend environment configuration to reflect the new default for packaged clients.
- Adjusted runtime authentication resolution to use "LOCAL" as the fallback value.
This commit is contained in:
Anish Sarkar 2026-06-26 18:52:42 +05:30
parent 5b5e95971e
commit a80cb8c060
3 changed files with 5 additions and 5 deletions

View file

@ -762,7 +762,7 @@ class Config:
TURNSTILE_SECRET_KEY = os.getenv("TURNSTILE_SECRET_KEY", "")
# Auth
AUTH_TYPE = os.getenv("AUTH_TYPE")
AUTH_TYPE = os.getenv("AUTH_TYPE", "LOCAL")
REGISTRATION_ENABLED = os.getenv("REGISTRATION_ENABLED", "TRUE").upper() == "TRUE"
# Google OAuth