mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
[ticket/13203] Use string_compare method in passwords drivers
PHPBB3-13203
This commit is contained in:
@@ -68,7 +68,7 @@ class bcrypt extends base
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($hash == $this->hash($password, $salt))
|
||||
if ($this->helper->string_compare($hash, $this->hash($password, $salt)))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user