feat: implement registration toggle in backend and handle disabled state in frontend

This commit is contained in:
Anish Sarkar 2025-10-20 15:54:52 +05:30
parent 4dc5cebb94
commit 19ed0becce
4 changed files with 23 additions and 1 deletions

View file

@ -43,6 +43,7 @@ class Config:
# Auth
AUTH_TYPE = os.getenv("AUTH_TYPE")
REGISTRATION_ENABLED = os.getenv("REGISTRATION_ENABLED", "TRUE").upper() == "TRUE"
# Google OAuth
GOOGLE_OAUTH_CLIENT_ID = os.getenv("GOOGLE_OAUTH_CLIENT_ID")