mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/16293] Do not update to hashes that don't support combined hashing
PHPBB3-16293
This commit is contained in:
parent
b83de54bb4
commit
16dbbdb34c
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class update_hashes extends \phpbb\cron\task\base
|
|||
|
||||
foreach ($defaults as $type)
|
||||
{
|
||||
if ($hashing_algorithms[$type]->is_supported())
|
||||
if ($hashing_algorithms[$type]->is_supported() && !$hashing_algorithms[$type] instanceof \phpbb\passwords\driver\base_native)
|
||||
{
|
||||
$this->default_type = $type;
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue