fix: update sso protocol default value to '' (#18773)

This commit is contained in:
NFish 2025-04-25 16:20:20 +08:00 committed by GitHub
parent ede0deb447
commit 170139bb0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,