From 0e54b237631b0555230185a82d4e6d8810c58cb2 Mon Sep 17 00:00:00 2001 From: "Gergely Polonkai (W00d5t0ck)" Date: Mon, 14 Feb 2011 16:53:11 +0100 Subject: [PATCH] Bug fix - clear text passwords were not updated to the encrypted version upon password retrieval --- class.db.php | 1 + 1 file changed, 1 insertion(+) diff --git a/class.db.php b/class.db.php index 0664176..6faf815 100644 --- a/class.db.php +++ b/class.db.php @@ -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)