Merge pull request #676 from anaggh/patch-1

Fix change password bug
This commit is contained in:
Diego Najar 2018-03-24 11:22:54 +01:00 committed by GitHub
commit 21fb47d223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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