Unverified Commit d4b88c6c authored by boojack's avatar boojack Committed by GitHub

chore: remove auto signout in auth page (#1927)

parent 698380f9
...@@ -22,7 +22,6 @@ const Auth = () => { ...@@ -22,7 +22,6 @@ const Auth = () => {
const [identityProviderList, setIdentityProviderList] = useState<IdentityProvider[]>([]); const [identityProviderList, setIdentityProviderList] = useState<IdentityProvider[]>([]);
useEffect(() => { useEffect(() => {
userStore.doSignOut().catch();
const fetchIdentityProviderList = async () => { const fetchIdentityProviderList = async () => {
const { data: identityProviderList } = await api.getIdentityProviderList(); const { data: identityProviderList } = await api.getIdentityProviderList();
setIdentityProviderList(identityProviderList); setIdentityProviderList(identityProviderList);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment