mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 08:32:50 -05:00
additional formatting & inclusion of org name
This commit is contained in:
@ -279,12 +279,12 @@ namespace Bit.Core.Services
|
||||
await _mailDeliveryService.SendEmailAsync(message);
|
||||
}
|
||||
|
||||
public async Task SendLicenseExpiredAsync(IEnumerable<string> emails, bool isOrganization)
|
||||
public async Task SendLicenseExpiredAsync(IEnumerable<string> emails, string organizationName = null)
|
||||
{
|
||||
var message = CreateDefaultMessage("License Expired", emails);
|
||||
var model = new LicenseExpiredViewModel
|
||||
{
|
||||
IsOrganization = isOrganization
|
||||
OrganizationName = organizationName,
|
||||
};
|
||||
await AddMessageContentAsync(message, "LicenseExpired", model);
|
||||
message.Category = "LicenseExpired";
|
||||
|
Reference in New Issue
Block a user