mirror of
https://github.com/bitwarden/server.git
synced 2024-11-29 13:25:17 +01:00
formatting
This commit is contained in:
parent
2cf7f18858
commit
9bf3a467fa
@ -1,7 +1,9 @@
|
||||
{{#>BasicTextLayout}}
|
||||
{{#if IsOrganization}}
|
||||
|
||||
This email is to notify you that your Bitwarden organization license has expired and must be updated for continued use. See the following article for details about replacing your license file:
|
||||
{{else}}
|
||||
|
||||
This email is to notify you that your Bitwarden premium license has expired and must be updated for continued use. See the following article for details about replacing your license file:
|
||||
{{/if}}
|
||||
|
||||
|
@ -128,7 +128,7 @@ namespace Bit.Core.Services
|
||||
org.RevisionDate = DateTime.UtcNow;
|
||||
await _organizationRepository.ReplaceAsync(org);
|
||||
|
||||
await _mailService.SendLicenseExpiredAsync(new List<string> {org.BillingEmail}, true);
|
||||
await _mailService.SendLicenseExpiredAsync(new List<string> { org.BillingEmail }, true);
|
||||
}
|
||||
|
||||
public async Task ValidateUsersAsync()
|
||||
@ -219,7 +219,7 @@ namespace Bit.Core.Services
|
||||
user.RevisionDate = DateTime.UtcNow;
|
||||
await _userRepository.ReplaceAsync(user);
|
||||
|
||||
await _mailService.SendLicenseExpiredAsync(new List<string> {user.Email}, false);
|
||||
await _mailService.SendLicenseExpiredAsync(new List<string> { user.Email }, false);
|
||||
}
|
||||
|
||||
public bool VerifyLicense(ILicense license)
|
||||
|
Loading…
Reference in New Issue
Block a user