Aman
Too many login attempts Not work.
How can I override the login attempt limit to allow only 3 attempts?
I believe it requires modifying the configuration values. Specifically, I found this method in my code:
public function authenticate(): ?LoginResponse
{
try {
$this->rateLimit(5);
}
}
Currently, it seems to allow 5 attempts, but I want to restrict it to 3.
Does anyone know how to properly override this setting? Should I modify it in the config file or is there another way to implement it correctly?13 replies