Skip to content
Snippets Groups Projects
Commit 725c7e56 authored by Geoff Appleby's avatar Geoff Appleby Committed by James Gilliland
Browse files

Issue #3334308: needsRehash always checks against PASSWORD_DEFAULT

parent c07d8bd6
No related branches found
No related tags found
1 merge request!1Issue #3334308: needsRehash always checks against PASSWORD_DEFAULT
......@@ -81,7 +81,7 @@ public function needsRehash($hash) {
// - The parameters of hashing engine were changed. For example the
// parameter 'password_hash_cost' (the hashing cost) has been increased in
// core.services.yml.
return password_needs_rehash($hash, PASSWORD_DEFAULT, $this->getOptions());
return password_needs_rehash($hash, $this->algorithm, $this->getOptions());
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment