Function validatePasswordFlood
This protects against brute force attacks on a member's password. Importantly, even if the password was right we DON'T TELL THEM!
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/LogInOut.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/LogInOut.php
integer |
$id_member |
The ID of the member |
string |
$member_name |
The name of the member. |
boolean|string |
$password_flood_value = false |
False if we don't have a flood value, otherwise a string with a timestamp and number of tries separated by a | |
boolean |
$was_correct = false |
Whether or not the password was correct |
boolean |
$tfa = false |
Whether we're validating for two-factor authentication |