aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/passwords/driver/salted_md5.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/passwords/driver/salted_md5.php')
-rw-r--r--phpBB/phpbb/passwords/driver/salted_md5.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/phpBB/phpbb/passwords/driver/salted_md5.php b/phpBB/phpbb/passwords/driver/salted_md5.php
index bccf61dc07..96dd298789 100644
--- a/phpBB/phpbb/passwords/driver/salted_md5.php
+++ b/phpBB/phpbb/passwords/driver/salted_md5.php
@@ -105,7 +105,6 @@ class salted_md5 extends \phpbb\passwords\driver\base
{
return (md5($password) === $hash) ? true : false;
}
- // No need to check prefix, already did that in manage
if ($hash === $this->hash($password, $hash))
{
@@ -121,8 +120,6 @@ class salted_md5 extends \phpbb\passwords\driver\base
*/
protected function generate_salt()
{
- $salt = '';
- $random = '';
$count = 6;
$random = $this->helper->get_random_salt($count);