1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-06 18:42:49 -05:00

[PM-13620]Existing user email linking to create-organization (#5315)

* Changes for the existing customer

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* removed the added character

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

---------

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
cyprain-okeke
2025-02-19 13:13:48 +01:00
committed by GitHub
parent f27886e312
commit fcb9848180
5 changed files with 20 additions and 8 deletions

View File

@ -74,6 +74,7 @@ public class HandlebarsMailService : IMailService
}
public async Task SendTrialInitiationSignupEmailAsync(
bool isExistingUser,
string email,
string token,
ProductTierType productTier,
@ -82,6 +83,7 @@ public class HandlebarsMailService : IMailService
var message = CreateDefaultMessage("Verify your email", email);
var model = new TrialInitiationVerifyEmail
{
IsExistingUser = isExistingUser,
Token = WebUtility.UrlEncode(token),
Email = WebUtility.UrlEncode(email),
WebVaultUrl = _globalSettings.BaseServiceUri.VaultWithHash,