mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12352] Introduce user row to passwords check methods
This will ensure that legacy hash types that might need the user row can properly check if the supplied password is correct. PHPBB3-12352
This commit is contained in:
@@ -60,7 +60,7 @@ class bcrypt extends base
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function check($password, $hash)
|
||||
public function check($password, $hash, $user_row = array())
|
||||
{
|
||||
$salt = substr($hash, 0, 29);
|
||||
if (strlen($salt) != 29)
|
||||
|
Reference in New Issue
Block a user