mirror of
https://github.com/bitwarden/server.git
synced 2025-02-16 01:51:21 +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()
|
var model = new AdminResetPasswordViewModel()
|
||||||
{
|
{
|
||||||
UserName = GetUserIdentifier(email, userName),
|
UserName = GetUserIdentifier(email, userName),
|
||||||
OrgName = CoreHelpers.SanitizeForEmail(orgName),
|
OrgName = CoreHelpers.SanitizeForEmail(orgName, false),
|
||||||
};
|
};
|
||||||
await AddMessageContentAsync(message, "AdminResetPassword", model);
|
await AddMessageContentAsync(message, "AdminResetPassword", model);
|
||||||
message.Category = "AdminResetPassword";
|
message.Category = "AdminResetPassword";
|
||||||
|
Loading…
Reference in New Issue
Block a user