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

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(() => []);