Commit 9fc484fb authored by Imran Hussain's avatar Imran Hussain
Browse files

Fix a bug that didn't let people try and log in again

parent a1181ec1
......@@ -44,7 +44,7 @@ if ( $details["id"] === $SESSIONID ) {
if ($details["iss_username"] !== null) {
$ISS_LOGIN = true;
}
if ($details["lastfailedlogintime"] <= time()-strtotime("-10 minutes")) {
if ($details["lastfailedlogintime"] <= strtotime("-10 minutes")) {
$details["lastfailedlogintime"] = 2;
}
if ($details["failedlogincount"] >= 3) {
......
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