mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-17 08:48:53 +00:00
[feature/passwords] Use correct prefix for bcrypt type
PHPBB3-11610
This commit is contained in:
parent
7a526284d3
commit
c9afda5a65
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue