From 21dd4864dda1c666ce4adfd29b40e70f70782963 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 1 Apr 2016 23:21:37 +0200 Subject: Support rehashing of passwords not conforming to config Signed-off-by: Florian Pritz --- application/libraries/Duser/drivers/Duser_db.php | 1 + 1 file changed, 1 insertion(+) (limited to 'application/libraries/Duser/drivers/Duser_db.php') diff --git a/application/libraries/Duser/drivers/Duser_db.php b/application/libraries/Duser/drivers/Duser_db.php index 102d98023..1144f40f2 100644 --- a/application/libraries/Duser/drivers/Duser_db.php +++ b/application/libraries/Duser/drivers/Duser_db.php @@ -33,6 +33,7 @@ class Duser_db extends Duser_Driver { } if (password_verify($password, $query['password'])) { + $CI->muser->rehash_password($query['id'], $password, $query['password']); return array( "username" => $username, "userid" => $query["id"] -- cgit v1.2.3-24-g4f1b