mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-02 22:01:05 +02:00
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:
parent
5b5e95971e
commit
a80cb8c060
3 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue