login uses hard redirect to clear errors caused by browser extensions #7

Merged
tiradoe merged 1 commit from fix-login-error into main 2026-04-09 03:38:24 +00:00

View file

@ -7,7 +7,7 @@ export const useAuth = () => {
credentials: 'include',
})
await $api('/api/login', {method: 'POST', body: {email, password}})
await navigateTo('/lists')
window.location.href = '/lists'
}
const register = async (email: string, username: string) => {