mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-20 07:42:09 +02:00
Merge pull request #5820 from marc1706/ticket/16293
[ticket/16293] Do not update to hashes that don't support combined hashing
This commit is contained in:
commit
17d4dcc30b
@ -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…
x
Reference in New Issue
Block a user