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.
<pre class="prettyprint lang-php">
private function lockoutTime()
return property_exists($this, 'lockoutTime') ? $this->lockoutTime : 8;
protected function maxLoginAttem.....
login throttle is for security purpose, throttle will help to block user for sometime if he write wrong username and password many times. Like, if you want to give 5 try to login with wrong password but if he will 6 try then it will block for 1 minute or 5minutes as we set. So, it will very secure for our laravel application.
<img src="/upload/Laravel-5-throttle.png" class="img-responsive" style="width:100%;border:2px solide red;" />
Laravel framework provide inbuild throttling for login. Laravel manage throttle using cache facade. In this post i added whole AuthController file code that way .....