mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-02 04:12:47 +02:00
feat: implement registration toggle in backend and handle disabled state in frontend
This commit is contained in:
parent
4dc5cebb94
commit
19ed0becce
4 changed files with 23 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue