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

pull/18787/head
NFish 11 months ago committed by GitHub
parent 1769ce16f3
commit cbb1d722a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save