From a357065f1d9ab1013ee09c406fa705a2ff85ff74 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Thu, 17 Oct 2024 20:43:28 -0700 Subject: [PATCH] dashboard pw reset fix --- .../(static)/login/password-reset/confirm/[token]/+page.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/dashboard/src/routes/(static)/login/password-reset/confirm/[token]/+page.svelte b/packages/dashboard/src/routes/(static)/login/password-reset/confirm/[token]/+page.svelte index e06289ec..bc6440b9 100644 --- a/packages/dashboard/src/routes/(static)/login/password-reset/confirm/[token]/+page.svelte +++ b/packages/dashboard/src/routes/(static)/login/password-reset/confirm/[token]/+page.svelte @@ -34,8 +34,7 @@ try { await requestPasswordResetConfirm(token, password) - // Hard refresh and send the user back to the login screen - // window.location.href = '/login' + window.location.href = '/login' } catch (error) { if (error instanceof Error) { formErrors = client().parseError(error)