-
Committer:
Fabien MORIN
-
Date:
2017-09-07 12:27:39 UTC
-
Revision ID:
fabien.morin@tempo-consulting.fr-20170907122739-jl8fwtjyzxdb0euo
US-3366 [FIX] brutforce attack proof. If a user had 5 bad login attempts, he
will have to wait 5 minutes to try to login again.
An OrderedDict is used with maxium capacity of 50 IP to avoir memory overflow
by storing a lot of attemps with a lot of different IP (like DDOS attack)