@nauth-toolkit/email-nodemailer 0.1.95 → 0.1.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodemailer-email.provider.d.ts +10 -2
- package/dist/nodemailer-email.provider.d.ts.map +1 -1
- package/dist/nodemailer-email.provider.js +45 -3
- package/dist/nodemailer-email.provider.js.map +1 -1
- package/dist/templates/default/mfa-email-code.html.hbs +607 -0
- package/dist/templates/default/mfa-email-code.text.hbs +14 -0
- package/dist/templates/default/verification.html.hbs +2 -2
- package/dist/templates/handlebars-template.engine.d.ts.map +1 -1
- package/dist/templates/handlebars-template.engine.js +1 -0
- package/dist/templates/handlebars-template.engine.js.map +1 -1
- package/package.json +2 -2
- package/src/templates/default/mfa-email-code.html.hbs +607 -0
- package/src/templates/default/mfa-email-code.text.hbs +14 -0
- package/src/templates/default/verification.html.hbs +2 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Your sign-in code
|
|
2
|
+
|
|
3
|
+
{{#if fullName}}Hi {{fullName}},{{/if}}
|
|
4
|
+
{{#if firstName}}Hi {{firstName}},{{/if}}
|
|
5
|
+
{{#if lastName}}Hi {{lastName}},{{/if}}
|
|
6
|
+
{{#if userName}}Hi {{userName}},{{/if}}
|
|
7
|
+
|
|
8
|
+
You're signing in to your account. Use the code below to complete two-factor authentication.
|
|
9
|
+
|
|
10
|
+
{{#if code}}Your verification code: {{code}}{{/if}}
|
|
11
|
+
|
|
12
|
+
{{#if expiryMinutes}}This code expires in {{expiryMinutes}} minutes.{{/if}}
|
|
13
|
+
|
|
14
|
+
If you didn't request this code, please ignore this email and secure your account. {{#if supportEmail}}Contact support at {{supportEmail}}.{{/if}}
|
|
@@ -405,7 +405,7 @@ subject: Email Verification - {{appName}}
|
|
|
405
405
|
|
|
406
406
|
</td>
|
|
407
407
|
</tr>
|
|
408
|
-
{{/if}}<!-- Content Slot - Child template injected here --><!-- Verification Email Content -->
|
|
408
|
+
{{/if}}<!-- Content Slot - Child template injected here --><!-- Verification Email Content (signup; for MFA code use mfa-email-code template) -->
|
|
409
409
|
<tr>
|
|
410
410
|
<td
|
|
411
411
|
align="left" style="font-size:0px;padding:0 24px 16px 24px;word-break:break-word;"
|
|
@@ -413,7 +413,7 @@ subject: Email Verification - {{appName}}
|
|
|
413
413
|
|
|
414
414
|
<div
|
|
415
415
|
style="font-family:Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;font-size:16px;line-height:24px;text-align:left;color:#374151;"
|
|
416
|
-
>
|
|
416
|
+
>Thank you for signing up! Please verify your email address to activate your account.</div>
|
|
417
417
|
|
|
418
418
|
</td>
|
|
419
419
|
</tr>
|