mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-03 15:14:08 +01:00
Fix error on updating LDAP user password on database
This commit is contained in:
@@ -927,7 +927,7 @@ class SP_Users {
|
||||
user_pass = '" . $passdata['pass'] . "',
|
||||
user_hashSalt = '" . $passdata['salt'] . "',
|
||||
user_lastUpdate = NOW()
|
||||
WHERE user_id = " . (int) $this->userId . " LIMIT 1";
|
||||
WHERE user_id = " . $this->getUserIdByLogin($this->userLogin) . " LIMIT 1";
|
||||
|
||||
if (DB::doQuery($query, __FUNCTION__) === FALSE) {
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user