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:
parent
1cad0268c0
commit
95b727e3f1
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user