aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/cron/task/core/update_hashes.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/cron/task/core/update_hashes.php')
-rw-r--r--phpBB/phpbb/cron/task/core/update_hashes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/cron/task/core/update_hashes.php b/phpBB/phpbb/cron/task/core/update_hashes.php
index ba095abc8b..9e938f74dd 100644
--- a/phpBB/phpbb/cron/task/core/update_hashes.php
+++ b/phpBB/phpbb/cron/task/core/update_hashes.php
@@ -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;