🐛 Fix mail factor code use wrong title and template

This commit is contained in:
2025-11-04 02:00:54 +08:00
parent 433230b495
commit e0e00d023f
5 changed files with 45 additions and 39 deletions

View File

@@ -450,7 +450,7 @@ public class AccountService(
.SendTemplatedEmailAsync<Emails.VerificationEmail, VerificationEmailModel>(
account.Nick,
contact.Content,
emailLocalizer["VerificationEmail"],
emailLocalizer["EmailCodeTitle"],
new VerificationEmailModel
{
Name = account.Name,