We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2034677 commit d7c836eCopy full SHA for d7c836e
frontend/src/index.tsx
@@ -59,6 +59,8 @@ async function refresh_access_token() {
59
}
60
loggedIn.value = AppState.LoggedIn;
61
} else {
62
+ localStorage.removeItem("loginKey");
63
+ localStorage.removeItem("secretKey");
64
loggedIn.value = AppState.LoggedOut;
65
66
@@ -68,6 +70,8 @@ setInterval(async () => {
68
70
await refresh_access_token();
69
71
}, 1000 * 60 * 5);
72
73
+localStorage.removeItem("secret_key");
74
+
75
export function App() {
76
const {t} = useTranslation("", {useSuspense: false});
77
0 commit comments