Currently five login attempts blocks user for 40 seconds and its working fine with the following code :
if ($this->hasTooManyLoginAttempts($request)) {
$this->fireLockoutEvent($request);
return $this->sendLockoutResponse($request);
}
What i want is that, When a user gets unblocked after the first attempts, On the second attempts the block time should increase to 3 minutes.
I searched around, But could not found anything, Is there any way around it ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire