Page MenuHomeSealhub

registration-intent.ts
No OneTemporary

registration-intent.ts

import { App } from "../../main";
import SimpleTemplate from "./simple";
export default async function RegistrationIntentTemplate(
app: App,
{ email_address, token }: { email_address: string; token: string }
) {
return SimpleTemplate(app, {
subject: app.i18n(
"registration_intent_email_subject",
app.manifest.name
),
to: email_address,
text: `
${app.i18n("registration_intent_email_text", [app.manifest.name])}`,
buttons: [
{
text: app.i18n("registration_intent_cta"),
href: `${app.manifest.base_url}/account-creation-details?token=${token}&email=${email_address}`,
},
],
});
}

File Metadata

Mime Type
text/x-java
Expires
Sun, Jul 13, 04:21 (12 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
802217
Default Alt Text
registration-intent.ts (626 B)

Event Timeline