From 9bf3a467fa022c573c5161b7d60f8b44192095ec Mon Sep 17 00:00:00 2001 From: Matt Portune Date: Tue, 19 May 2020 12:37:45 -0400 Subject: [PATCH] formatting --- src/Core/MailTemplates/Handlebars/LicenseExpired.text.hbs | 2 ++ src/Core/Services/Implementations/LicensingService.cs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Core/MailTemplates/Handlebars/LicenseExpired.text.hbs b/src/Core/MailTemplates/Handlebars/LicenseExpired.text.hbs index f010f457e8..f8f11704e1 100644 --- a/src/Core/MailTemplates/Handlebars/LicenseExpired.text.hbs +++ b/src/Core/MailTemplates/Handlebars/LicenseExpired.text.hbs @@ -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}} diff --git a/src/Core/Services/Implementations/LicensingService.cs b/src/Core/Services/Implementations/LicensingService.cs index 9918efa269..400bca44ee 100644 --- a/src/Core/Services/Implementations/LicensingService.cs +++ b/src/Core/Services/Implementations/LicensingService.cs @@ -128,7 +128,7 @@ namespace Bit.Core.Services org.RevisionDate = DateTime.UtcNow; await _organizationRepository.ReplaceAsync(org); - await _mailService.SendLicenseExpiredAsync(new List {org.BillingEmail}, true); + await _mailService.SendLicenseExpiredAsync(new List { 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 {user.Email}, false); + await _mailService.SendLicenseExpiredAsync(new List { user.Email }, false); } public bool VerifyLicense(ILicense license)