This commit is contained in:
ThatOneCalculator 2023-04-26 20:03:04 -07:00
parent e4ca9590bd
commit e171cbdcbf

View File

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