mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 17:42:49 -05:00
[AC-2101] Update welcome emails from trial initiation and org creation (#3836)
* Add the email template * add changes fro the trial initiation email * adding featureFlags Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * adding noopener Signed-off-by: Cy Okeke <cokeke@bitwarden.com> * Fix the failing test Signed-off-by: Cy Okeke <cokeke@bitwarden.com> --------- Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
@ -537,6 +537,15 @@ public class OrganizationService : IOrganizationService
|
||||
Storage = returnValue.Item1.MaxStorageGb,
|
||||
// TODO: add reference events for SmSeats and Service Accounts - see AC-1481
|
||||
});
|
||||
|
||||
var isAc2101UpdateTrialInitiationEmail =
|
||||
_featureService.IsEnabled(FeatureFlagKeys.AC2101UpdateTrialInitiationEmail);
|
||||
|
||||
if (signup.IsFromSecretsManagerTrial && isAc2101UpdateTrialInitiationEmail)
|
||||
{
|
||||
await _mailService.SendTrialInitiationEmailAsync(signup.BillingEmail);
|
||||
}
|
||||
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user