1
0
mirror of https://github.com/bitwarden/server synced 2026-01-28 23:36:12 +00:00

Fix HandlebarsMailService claimed domain email

This commit is contained in:
JaredScar
2026-01-26 11:40:35 -05:00
parent ba0423e083
commit 69c4e77cc8

View File

@@ -657,11 +657,11 @@ public class HandlebarsMailService : IMailService
return;
MailQueueMessage CreateMessage(string emailAddress, Organization org) =>
new(CreateDefaultMessage($"Your Bitwarden account is claimed by {org.DisplayName()}", emailAddress),
new(CreateDefaultMessage($"Important update to your Bitwarden account", emailAddress),
"AdminConsole.DomainClaimedByOrganization",
new ClaimedDomainUserNotificationViewModel
{
TitleFirst = $"Your Bitwarden account is claimed by {org.DisplayName()}",
TitleFirst = $"Important update to your Bitwarden account",
OrganizationName = CoreHelpers.SanitizeForEmail(org.DisplayName(), false)
});
}