aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/passwords
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-05-26 13:26:46 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-06-01 21:31:04 +0200
commit60cb648ab0bd3cba627f9f1c020ace613e18f3d5 (patch)
treeebf8d60185e190006435f0fa5969d3572fb41a1c /phpBB/phpbb/passwords
parentf78b99dce4057dcb9125af940cb3ca369b2cce48 (diff)
downloadforums-60cb648ab0bd3cba627f9f1c020ace613e18f3d5.tar
forums-60cb648ab0bd3cba627f9f1c020ace613e18f3d5.tar.gz
forums-60cb648ab0bd3cba627f9f1c020ace613e18f3d5.tar.bz2
forums-60cb648ab0bd3cba627f9f1c020ace613e18f3d5.tar.xz
forums-60cb648ab0bd3cba627f9f1c020ace613e18f3d5.zip
[ticket/12352] Remove code for converting passwords in db auth provider
PHPBB3-12352
Diffstat (limited to 'phpBB/phpbb/passwords')
-rw-r--r--phpBB/phpbb/passwords/manager.php4
1 files changed, 2 insertions, 2 deletions
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)