fix: update email template message variables (#10650)

This commit is contained in:
Kang Ming authored and GitHub committed 2022-12-05 23:44:34 -08:00
1 parent 142c41d93f
commit 61839099ca
1 file changed
+10
@@ -19,6 +19,8 @@ export const CONFIRMATION: FormSchema = {
type: 'code',
description: `
- \`{{ .ConfirmationURL }}\` : URL to confirm the message
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
`,
},
},
@@ -48,6 +50,8 @@ export const INVITE: FormSchema = {
type: 'code',
description: `
- \`{{ .ConfirmationURL }}\` : URL to confirm the message
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
`,
},
},
@@ -77,6 +81,8 @@ export const MAGIC_LINK: FormSchema = {
type: 'code',
description: `
- \`{{ .ConfirmationURL }}\` : URL to confirm the message
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
`,
},
},
@@ -106,6 +112,8 @@ export const EMAIL_CHANGE: FormSchema = {
type: 'code',
description: `
- \`{{ .ConfirmationURL }}\` : URL to confirm the email change
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
`,
},
},
@@ -135,6 +143,8 @@ export const RECOVERY: FormSchema = {
type: 'code',
description: `
- \`{{ .ConfirmationURL }}\` : URL to confirm the password reset
- \`{{ .Token }}\` : The 6-digit numeric email OTP
- \`{{ .TokenHash }}\` : The hashed token used in the URL
`,
},
},