1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Auth/PM-11252 - Registration with Email Verification - Adjust url to point to new signup redirect connector (#4691)

* PM-11252 - Registration with Email Verification - Adjust url in email to point to new signup redirect connector.

* PM-11252 - RegisterVerifyEmail - use url fragment structure to obfuscate query params from logging and prevent open redirects.
This commit is contained in:
Jared Snider
2024-09-10 11:30:01 -04:00
committed by GitHub
parent add8783e31
commit ab73eeae16
2 changed files with 7 additions and 3 deletions

View File

@ -63,7 +63,7 @@ public class HandlebarsMailService : IMailService
{
Token = WebUtility.UrlEncode(token),
Email = WebUtility.UrlEncode(email),
WebVaultUrl = _globalSettings.BaseServiceUri.VaultWithHash,
WebVaultUrl = _globalSettings.BaseServiceUri.Vault,
SiteName = _globalSettings.SiteName
};
await AddMessageContentAsync(message, "Auth.RegistrationVerifyEmail", model);