From cbb1d722a5d8f5566f90aff85d1f471e057fbeb0 Mon Sep 17 00:00:00 2001 From: NFish Date: Fri, 25 Apr 2025 17:19:44 +0800 Subject: [PATCH] fix: break switch logic if the sso protocol is empty (#18783) --- 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.') }