From 57f3197d99298e3d5badd07af26f9d9c14277a6d Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Wed, 16 Nov 2022 11:34:04 -0800 Subject: [PATCH] Fix: Account verification needs to hard-redirect --- packages/pockethost.io/src/util/database.ts | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/pockethost.io/src/util/database.ts b/packages/pockethost.io/src/util/database.ts index 18be2f41..cd3366a2 100644 --- a/packages/pockethost.io/src/util/database.ts +++ b/packages/pockethost.io/src/util/database.ts @@ -79,7 +79,7 @@ export const handleAccountConfirmation = async (token: string, setError?: FormEr try { await confirmVerification(token) - await goto('/dashboard') + window.location.href = '/dashboard' } catch (error: any) { handleFormError(error, setError) } diff --git a/readme.md b/readme.md index 7e2ea2b7..ab7ad2cb 100644 --- a/readme.md +++ b/readme.md @@ -138,7 +138,7 @@ open https://pockethost.io - [ ] Bugfix: Disallow backups if data dir doesn't exist - [ ] Bugfix: dedupe yarn -- [ ] Bugfix: Account verification needs to hard-redirect +- [x] Bugfix: Account verification needs to hard-redirect - [x] Chore: improved bootstrap TS support **0.5.1**