mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-16 01:25:56 +08:00
Merge branch 'feat/webapp-auth-api' into e-260
This commit is contained in:
commit
d6c252d77e
@ -243,7 +243,7 @@ class FeatureService:
|
|||||||
features.webapp_auth.allow_email_password_login = enterprise_info["WebAppAuth"].get(
|
features.webapp_auth.allow_email_password_login = enterprise_info["WebAppAuth"].get(
|
||||||
"allowEmailPasswordLogin", False
|
"allowEmailPasswordLogin", False
|
||||||
)
|
)
|
||||||
features.webapp_auth.sso_config.protocol = enterprise_info.get("SSOEnforcedForSigninProtocol", "")
|
features.webapp_auth.sso_config.protocol = enterprise_info.get("SSOEnforcedForWebProtocol", "")
|
||||||
|
|
||||||
if "License" in enterprise_info:
|
if "License" in enterprise_info:
|
||||||
license_info = enterprise_info["License"]
|
license_info = enterprise_info["License"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user