1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05: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

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";