diff options
author | Marc Alexander <admin@m-a-styles.de> | 2020-01-06 11:18:16 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2020-01-06 11:18:16 +0100 |
commit | 16dbbdb34cfaaf27d367f77395c72fd5676d9a22 (patch) | |
tree | c67b50e40f271b58f98b3993bb3fdf0ae4b02f05 | |
parent | b83de54bb4fd3217b41f61de896e73732752d196 (diff) | |
download | forums-16dbbdb34cfaaf27d367f77395c72fd5676d9a22.tar forums-16dbbdb34cfaaf27d367f77395c72fd5676d9a22.tar.gz forums-16dbbdb34cfaaf27d367f77395c72fd5676d9a22.tar.bz2 forums-16dbbdb34cfaaf27d367f77395c72fd5676d9a22.tar.xz forums-16dbbdb34cfaaf27d367f77395c72fd5676d9a22.zip |
[ticket/16293] Do not update to hashes that don't support combined hashing
PHPBB3-16293
-rw-r--r-- | phpBB/phpbb/cron/task/core/update_hashes.php | 2 |
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; |