Fix change password bug

https://github.com/bludit/bludit/issues/674
This commit is contained in:
anaggh 2018-03-24 13:47:24 +05:30 committed by GitHub
parent f19d635e68
commit 5429d1d35f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -150,7 +150,7 @@ class dbUsers extends dbJSON
public function setPassword($username, $password)
{
$args['username'] = $username;
$args['password'] = $hash;
$args['password'] = $password;
return $this->set($args);
}