Tag : throttle


How to increase throttle lockout time and max Login Attempts in Laravel 5?

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; } <br/> protected function maxLoginAttem.....

By Hardik Savani | June 2, 2016 | | 1080 Viewer | Category : Laravel
READ MORE

How to use login throttle in laravel 5?

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 .....

By Hardik Savani | May 28, 2016 | | 2435 Viewer | Category : Laravel
READ MORE

    Laravel 5 client side validation using Parsley.js example

    Laravel 5 client side validation using Parsley.js example

    Open Post

    Simple Highcharts Chart Example using PHP MySQL Database

    Simple Highcharts Chart Example using PHP MySQL Database

    Open Post

    How to create custom helper in Laravel 5?

    How to create custom helper in Laravel 5?

    Open Post

    Laravel 5 export to pdf using maatwebsite example

    Laravel 5 export to pdf using maatwebsite example

    Open Post

    How to disable model timestamps in Laravel 5.3?

    How to disable model timestamps in Laravel 5.3?

    Open Post

    How to execute artisan commands from route or controller in Laravel ?

    How to execute artisan commands from route or controller in Laravel ?

    Open Post