Commit d8602d88 authored by Imran Hussain's avatar Imran Hussain
Browse files

Helps if you change the right bit of data!

parent 9fc484fb
......@@ -45,7 +45,7 @@ if ( $details["id"] === $SESSIONID ) {
$ISS_LOGIN = true;
}
if ($details["lastfailedlogintime"] <= strtotime("-10 minutes")) {
$details["lastfailedlogintime"] = 2;
$details["failedlogincount"] = 2;
}
if ($details["failedlogincount"] >= 3) {
$RATELIMITED = true;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment