Merge branch 'refs/heads/main' into custom-openid-claims

# Conflicts:
#	backend/main.py
This commit is contained in:
Sergey Mihaylin
2024-07-01 10:08:38 +03:00
17 changed files with 1014 additions and 277 deletions

View File

@@ -686,6 +686,13 @@ ENABLE_SIGNUP = PersistentConfig(
else os.environ.get("ENABLE_SIGNUP", "True").lower() == "true"
),
)
DEFAULT_LOCALE = PersistentConfig(
"DEFAULT_LOCALE",
"ui.default_locale",
os.environ.get("DEFAULT_LOCALE", ""),
)
DEFAULT_MODELS = PersistentConfig(
"DEFAULT_MODELS", "ui.default_models", os.environ.get("DEFAULT_MODELS", None)
)