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:
@@ -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)
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user