Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

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

boojackd4b88c6c8608
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<IdentityProvider[]>([]);
useEffect(() => {
- userStore.doSignOut().catch();
const fetchIdentityProviderList = async () => {
const { data: identityProviderList } = await api.getIdentityProviderList();
setIdentityProviderList(identityProviderList);