mirror of
https://github.com/usememos/memos.git
synced 2025-02-20 21:30:55 +01:00
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…
x
Reference in New Issue
Block a user