aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/crypto/manager.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/crypto/manager.php')
-rw-r--r--phpBB/phpbb/crypto/manager.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/phpbb/crypto/manager.php b/phpBB/phpbb/crypto/manager.php
index e314b08865..885bf719bf 100644
--- a/phpBB/phpbb/crypto/manager.php
+++ b/phpBB/phpbb/crypto/manager.php
@@ -196,10 +196,14 @@ class phpbb_crypto_manager
return $this->helper->check_combined_hash($password, $stored_hash_type, $hash);
}
- if ($stored_hash_type->get_type() !== $this->type)
+ if ($stored_hash_type->get_name() !== $this->type)
{
$this->convert_flag = true;
}
+ else
+ {
+ $this->convert_flag = false;
+ }
return $stored_hash_type->check($password, $hash);
}