mirror of https://github.com/usememos/memos.git
chore: remove auto signout in auth page (#1927)
This commit is contained in:
parent
698380f940
commit
d4b88c6c86
|
|
@ -22,7 +22,6 @@ const Auth = () => {
|
|||
const [identityProviderList, setIdentityProviderList] = useState<IdentityProvider[]>([]);
|
||||
|
||||
useEffect(() => {
|
||||
userStore.doSignOut().catch();
|
||||
const fetchIdentityProviderList = async () => {
|
||||
const { data: identityProviderList } = await api.getIdentityProviderList();
|
||||
setIdentityProviderList(identityProviderList);
|
||||
|
|
|
|||
Loading…
Reference in New Issue