mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-18 17:47:54 +08:00
Fixing remarkably basic mistake from the last commit.
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4040954
This commit is contained in:
@@ -55,7 +55,9 @@ namespace Orchard.Security.Providers {
|
||||
var user = service.ValidateUser(username, oldPassword);
|
||||
if (user == null)
|
||||
return false;
|
||||
|
||||
service.SetPassword(user, newPassword);
|
||||
return true;
|
||||
}
|
||||
|
||||
public override string ResetPassword(string username, string answer) {
|
||||
|
Reference in New Issue
Block a user