summaryrefslogtreecommitdiffstats
path: root/application/libraries/Duser/drivers/Duser_db.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-04-01 23:21:37 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-04-01 23:21:37 +0200
commit21dd4864dda1c666ce4adfd29b40e70f70782963 (patch)
treecce776fcaf50e194670781798121dfa8ac0afc59 /application/libraries/Duser/drivers/Duser_db.php
parent6df6386694bd10eaf5b4d5682b298765a8b96681 (diff)
Support rehashing of passwords not conforming to config
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/Duser/drivers/Duser_db.php')
-rw-r--r--application/libraries/Duser/drivers/Duser_db.php1
1 files changed, 1 insertions, 0 deletions
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"]