diff options
Diffstat (limited to 'application/libraries/Duser/drivers/Duser_db.php')
-rw-r--r-- | application/libraries/Duser/drivers/Duser_db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/libraries/Duser/drivers/Duser_db.php b/application/libraries/Duser/drivers/Duser_db.php index b73c0e2e2..102d98023 100644 --- a/application/libraries/Duser/drivers/Duser_db.php +++ b/application/libraries/Duser/drivers/Duser_db.php @@ -32,7 +32,7 @@ class Duser_db extends Duser_Driver { return false; } - if (crypt($password, $query["password"]) === $query["password"]) { + if (password_verify($password, $query['password'])) { return array( "username" => $username, "userid" => $query["id"] |