Bug fix - clear text passwords were not updated to the encrypted version upon password retrieval
This commit is contained in:
parent
aca3feb94b
commit
0e54b23763
@ -300,6 +300,7 @@ if (!class_exists('PWSdb'))
|
||||
$sth = $this->prepare('UPDATE passwords SET password = ?, modifiedby = ?, modifiedat = datetime(\'now\') WHERE id = ?');
|
||||
$params = array($this->encryptPassword($newPassword), $username, $passwordId);
|
||||
}
|
||||
$sth->execute();
|
||||
}
|
||||
|
||||
function updatePasswordAccess($passwordId)
|
||||
|
Loading…
Reference in New Issue
Block a user