diff --git a/src/plugins/auth.ts b/src/plugins/auth.ts index b5d3dfe47..6c7ee8872 100644 --- a/src/plugins/auth.ts +++ b/src/plugins/auth.ts @@ -12,7 +12,7 @@ const authenticated = async () => ((await getToken()) ? true : false); async function setAuthen(r: AuthResponse) { await setCookie(ACCESS_TOKEN, r.access_token, r.expires_in); - window.location.href = "/login"; + window.location.href = "/"; } async function logout() {