Skip to content

Commit

Permalink
We shouldn't need this, we do that.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdarwood007 committed Nov 11, 2023
1 parent 5a6b2ac commit 9cdd01a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sources/Actions/Login2.php
Original file line number Diff line number Diff line change
Expand Up @@ -648,9 +648,6 @@ protected function checkPasswordFallbacks(): bool
$other_passwords[] = hash_hmac('sha256', $_POST['passwrd'], User::$profiles[User::$my_id]['password_salt']);
break;
}

// PHPBB 3 check this function exists in PHP 5.5 or higher
$other_passwords[] = password_verify($_POST['passwrd'], User::$profiles[User::$my_id]['password_salt']);
}

// Allows mods to easily extend the $other_passwords array
Expand Down

0 comments on commit 9cdd01a

Please sign in to comment.