1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

PS-1027 - prevent encoding of the organization name in master password reset email (#2147)

This commit is contained in:
dgoodman-bw 2022-08-02 12:57:56 -07:00 committed by GitHub
parent 1cad0268c0
commit 95b727e3f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,7 +413,7 @@ namespace Bit.Core.Services
var model = new AdminResetPasswordViewModel()
{
UserName = GetUserIdentifier(email, userName),
OrgName = CoreHelpers.SanitizeForEmail(orgName),
OrgName = CoreHelpers.SanitizeForEmail(orgName, false),
};
await AddMessageContentAsync(message, "AdminResetPassword", model);
message.Category = "AdminResetPassword";