fix: break switch logic if the sso protocol is empty

pull/18783/head
NFish 1 year ago
parent 1769ce16f3
commit 41cd547985

@ -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.')
} }

Loading…
Cancel
Save