From 5c8d149786dbfcf634475b40d3c81bd65c5215fc Mon Sep 17 00:00:00 2001 From: Joe <1264204425@qq.com> Date: Thu, 17 Oct 2024 10:40:05 +0800 Subject: [PATCH] feat: update fulfill_params_from_enterprise --- api/services/feature_service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/services/feature_service.py b/api/services/feature_service.py index 859bae1cd4..d5d9a9fb2c 100644 --- a/api/services/feature_service.py +++ b/api/services/feature_service.py @@ -134,3 +134,5 @@ class FeatureService: features.sso_enforced_for_web_protocol = enterprise_info["sso_enforced_for_web_protocol"] features.enable_email_code_login = enterprise_info["enable_email_code_login"] features.enable_email_password_login = enterprise_info["enable_email_password_login"] + features.is_allow_register = enterprise_info["is_allow_register"] + features.is_allow_create_workspace = enterprise_info["is_allow_create_workspace"]