This commit is contained in:
@@ -200,7 +200,7 @@ namespace AyaNova.Biz
|
||||
|
||||
//NOTE: It's valid to call this without intending to change login or password (null values)
|
||||
//Is the user updating the password?
|
||||
if (!string.IsNullOrWhiteSpace(putObject.Password) && SnapshotOfOriginalDBObj.Password != putObject.Password)
|
||||
if (!string.IsNullOrWhiteSpace(putObject.Password))
|
||||
{
|
||||
//YES password is being updated:
|
||||
dbObject.Password = Hasher.hash(SnapshotOfOriginalDBObj.Salt, putObject.Password);
|
||||
|
||||
Reference in New Issue
Block a user