From e171cbdcbf77cd7f64cedc25fb6ffe835f13a854 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 26 Apr 2023 20:03:04 -0700 Subject: [PATCH] mfw --- packages/client/src/pages/verify-email.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/client/src/pages/verify-email.vue b/packages/client/src/pages/verify-email.vue index 43923cb1e..ed1016fe7 100644 --- a/packages/client/src/pages/verify-email.vue +++ b/packages/client/src/pages/verify-email.vue @@ -19,9 +19,10 @@ onMounted(async () => { type: "info", text: i18n.t("clickToFinishEmailVerification", { ok: i18n.ts.gotIt }), }); - await os.apiWithDialog("verify-email", { + await os.api("verify-email", { code: props.code, }); + window.location.href = "/"; }); const headerActions = $computed(() => []);