From 41cd547985e3db71c7c4b3f35f8201a41a4db365 Mon Sep 17 00:00:00 2001 From: NFish Date: Fri, 25 Apr 2025 17:17:13 +0800 Subject: [PATCH] fix: break switch logic if the sso protocol is empty --- web/app/(shareLayout)/webapp-signin/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/app/(shareLayout)/webapp-signin/page.tsx b/web/app/(shareLayout)/webapp-signin/page.tsx index a7561a1b6f..3d27377610 100644 --- a/web/app/(shareLayout)/webapp-signin/page.tsx +++ b/web/app/(shareLayout)/webapp-signin/page.tsx @@ -72,6 +72,8 @@ const WebSSOForm: FC = () => { router.push(oauth2Res.url) break } + case '': + break default: showErrorToast('SSO protocol is not supported.') }