fix: break switch logic if the sso protocol is empty (#18783)

This commit is contained in:
NFish 2025-04-25 17:19:44 +08:00 committed by GitHub
parent 1769ce16f3
commit cbb1d722a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,6 +72,8 @@ const WebSSOForm: FC = () => {
router.push(oauth2Res.url) router.push(oauth2Res.url)
break break
} }
case '':
break
default: default:
showErrorToast('SSO protocol is not supported.') showErrorToast('SSO protocol is not supported.')
} }