Repeated login failure protection issue ?

Locked [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
Louis Wu
Donor
Posts: 74
Joined: 07 Oct 2010 23:41
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Repeated login failure protection issue ?

#1 » Post by Louis Wu » 06 Sep 2015 17:14

Maybe a small issue with the auto-ban on repeated login failures:
I made a login attempt, but at some point I hit the <TAB> button instead of the <a> character, and hit <ENTER> (yes, I have an azerty keyboard)
As a result, I tried to log in as user 'n' with screwed up password.
And suddenly all my accounts got banned.
When looking at my account on the web site, it said I (=my IP address) was auto-banned for some (10 ?) minutes due to repeated login failures.
Strange, as I made the mistake only once, and every character had a zero login failure rate.

So, my guess is there is something wrong with the auto-ban script.
And it comes quite as a surprise to see you're banned... unless you know what has happened :)

Louis
Louis Wu - visit us at Ringworld

User avatar
Nyeriah
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Repeated login failure protection issue ?

#2 » Post by Nyeriah » 06 Sep 2015 18:51

The failed login counter only resets on the first successful login, so it will eventually ban you on the first mistake until you successfully log your account.

User avatar
Nymunne
Former Staff
Posts: 1951
Joined: 28 Jun 2015 23:10
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Repeated login failure protection issue ?

#3 » Post by Nymunne » 09 Sep 2015 14:32

I guess this has been fixed since the player has been active after this topic was made. If you still experience any issues regarding this let us know.

Locking and moving this for now.

Locked
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest