From d4b88c6c8608e4e18c2b7a40bc0ed0b360126a70 Mon Sep 17 00:00:00 2001 From: boojack Date: Wed, 12 Jul 2023 00:16:32 +0800 Subject: [PATCH] chore: remove auto signout in auth page (#1927) --- web/src/pages/Auth.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/web/src/pages/Auth.tsx b/web/src/pages/Auth.tsx index 0d88ef6c0..0014e0737 100644 --- a/web/src/pages/Auth.tsx +++ b/web/src/pages/Auth.tsx @@ -22,7 +22,6 @@ const Auth = () => { const [identityProviderList, setIdentityProviderList] = useState([]); useEffect(() => { - userStore.doSignOut().catch(); const fetchIdentityProviderList = async () => { const { data: identityProviderList } = await api.getIdentityProviderList(); setIdentityProviderList(identityProviderList);