mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 15:45:34 +02:00
[feature/passwords] Use correct prefix for bcrypt type
PHPBB3-11610
This commit is contained in:
parent
7a526284d3
commit
c9afda5a65
@ -45,7 +45,7 @@ class phpbb_crypto_driver_bcrypt extends phpbb_crypto_driver_base
|
||||
{
|
||||
// The 2x and 2y prefixes of bcrypt might not be supported
|
||||
// Revert to 2a if this is the case
|
||||
$prefix = (!$this->is_supported()) ? '$2a$' : self::PREFIX;
|
||||
$prefix = (!$this->is_supported()) ? '$2a$' : $this->get_prefix();
|
||||
|
||||
if ($salt == '')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user