From 170139bb0faec97e2828e231d5f1c627bcf37a4e Mon Sep 17 00:00:00 2001 From: NFish Date: Fri, 25 Apr 2025 16:20:20 +0800 Subject: [PATCH] fix: update sso protocol default value to '' (#18773) --- web/types/feature.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/types/feature.ts b/web/types/feature.ts index 7d4331b70e..631a22bc95 100644 --- a/web/types/feature.ts +++ b/web/types/feature.ts @@ -39,7 +39,7 @@ export type SystemFeatures = { enabled: boolean allow_sso: boolean sso_config: { - protocol: SSOProtocol + protocol: SSOProtocol | '' } allow_email_code_login: boolean allow_email_password_login: boolean @@ -70,7 +70,7 @@ export const defaultSystemFeatures: SystemFeatures = { enabled: false, allow_sso: false, sso_config: { - protocol: SSOProtocol.SAML, + protocol: '', }, allow_email_code_login: false, allow_email_password_login: false,