mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-07-10 03:31:47 +08:00
fix: bad field name
This commit is contained in:
parent
e9a207b38e
commit
cbea30e65f
@ -204,7 +204,7 @@ class FeatureService:
|
|||||||
features.branding.favicon = enterprise_info["Branding"].get("favicon", "")
|
features.branding.favicon = enterprise_info["Branding"].get("favicon", "")
|
||||||
|
|
||||||
if "WebAppAuth" in enterprise_info:
|
if "WebAppAuth" in enterprise_info:
|
||||||
features.webapp_auth.allow_sso = enterprise_info["WebAppAuth"].get("allowSSO", False)
|
features.webapp_auth.allow_sso = enterprise_info["WebAppAuth"].get("allowSso", False)
|
||||||
features.webapp_auth.allow_email_code_login = enterprise_info["WebAppAuth"].get(
|
features.webapp_auth.allow_email_code_login = enterprise_info["WebAppAuth"].get(
|
||||||
"allowEmailCodeLogin", False
|
"allowEmailCodeLogin", False
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user