How to increase throttle lockout time and max Login Attempts in Laravel?
you implement throttle in you laravel 5 application and you want to increase lockout time or max Login Attempts then you can do it using laravel method overwrite. In this example i will show you how to increase throttle lockout time and max Login Attempts. you have to just add two method in your AuthController controller file. Let's copy this two method and paste on your AuthController controller file and check.
private function lockoutTime()
{
return property_exists($this, 'lockoutTime') ? $this->lockoutTime : 8;
}
protected function maxLoginAttempts()
{
return property_exists($this, 'maxLoginAttempts') ? $this->maxLoginAttempts : 6;
}

Hardik Savani
I'm a full-stack developer, entrepreneur and owner of Aatman Infotech. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Laravel, Angular, Vue, Node, Javascript, JQuery, Codeigniter and Bootstrap from the early stage. I believe in Hardworking and Consistency.