1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/12352] Remove code for converting passwords in db auth provider

PHPBB3-12352
This commit is contained in:
Marc Alexander
2014-05-26 13:26:46 +02:00
parent f78b99dce4
commit 60cb648ab0
2 changed files with 3 additions and 68 deletions

View File

@@ -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)