mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
#20277: Don't validate password inputs on Change Password
Work Item: 20277
This commit is contained in:
@@ -214,6 +214,7 @@ namespace Orchard.Users.Controllers {
|
||||
[Authorize]
|
||||
[HttpPost]
|
||||
[AlwaysAccessible]
|
||||
[ValidateInput(false)]
|
||||
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes",
|
||||
Justification = "Exceptions result in password not being changed.")]
|
||||
public ActionResult ChangePassword(string currentPassword, string newPassword, string confirmPassword) {
|
||||
|
||||
Reference in New Issue
Block a user