1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00

formatting

This commit is contained in:
Matt Portune 2020-05-19 12:37:45 -04:00
parent 2cf7f18858
commit 9bf3a467fa
2 changed files with 4 additions and 2 deletions

View File

@ -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}}

View File

@ -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)