How to increase throttle lockout time and max Login Attempts in Laravel?
In this post we will give you information about How to increase throttle lockout time and max Login Attempts in Laravel?. Hear we will give you detail about How to increase throttle lockout time and max Login Attempts in Laravel?And how to use it also give you demo for it if it is necessary.
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;
}
Hope this code and post will helped you for implement How to increase throttle lockout time and max Login Attempts in Laravel?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs