This commit is contained in:
ThatOneCalculator 2023-04-26 20:03:04 -07:00
parent a44fee3aae
commit ddc487cb39
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 2 additions and 1 deletions

View File

@ -19,9 +19,10 @@ onMounted(async () => {
type: "info", type: "info",
text: i18n.t("clickToFinishEmailVerification", { ok: i18n.ts.gotIt }), text: i18n.t("clickToFinishEmailVerification", { ok: i18n.ts.gotIt }),
}); });
await os.apiWithDialog("verify-email", { await os.api("verify-email", {
code: props.code, code: props.code,
}); });
window.location.href = "/";
}); });
const headerActions = $computed(() => []); const headerActions = $computed(() => []);