From 60cb648ab0bd3cba627f9f1c020ace613e18f3d5 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 26 May 2014 13:26:46 +0200 Subject: [ticket/12352] Remove code for converting passwords in db auth provider PHPBB3-12352 --- phpBB/phpbb/passwords/manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/phpbb/passwords') diff --git a/phpBB/phpbb/passwords/manager.php b/phpBB/phpbb/passwords/manager.php index 7d46424e4d..0a349c4a14 100644 --- a/phpBB/phpbb/passwords/manager.php +++ b/phpBB/phpbb/passwords/manager.php @@ -268,10 +268,10 @@ class manager $this->convert_flag = false; } + // Check all legacy hash types if prefix is $CP$ if ($stored_hash_type->get_prefix() === '$CP$') { - // Check all legacy hash types for this hash. Remove - // $CP$ prefix from beginning for proper checking. + // Remove $CP$ prefix for proper checking $hash = substr($hash, 4); foreach ($this->type_map as $algorithm) -- cgit v1.2.1