Change 2fa mail pattern to replace code
This commit is contained in:
parent
65541b9aed
commit
f68bbd58d7
@ -316,7 +316,7 @@ public class DefaultMailService implements MailService {
|
||||
String subject = messages.getMessage("2fa.verification.code.subject", null, Locale.US);
|
||||
String message = mergeTemplateIntoString("2fa.verification.code.ftl", Map.of(
|
||||
TARGET_EMAIL, email,
|
||||
"verificationCode", verificationCode,
|
||||
"сode", verificationCode,
|
||||
"expirationTimeSeconds", expirationTimeSeconds
|
||||
));
|
||||
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
<td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; color: #348eda; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top" align="center">
|
||||
<h2 style="margin-top: 8px;">${verificationCode}</h2>
|
||||
<h2 style="margin-top: 8px;">${сode}</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user