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 | | 1293 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 | | 4030 Viewer | Category : Laravel
READ MORE

    Codeigniter 3 - CRUD(Create, Read, Update and Delete) using JQuery Ajax, Bootstrap, Models and MySQL

    Codeigniter 3 - CRUD(Create, Read, Update and Delete) using JQuery Ajax, Bootstrap, Models and MySQL

    Open Post

    Laravel 5 - category treeview hierarchical structure example with demo

    Laravel 5 - category treeview hierarchical structure example with demo

    Open Post

    MySQL Query - How to select records of today to next Sunday ?

    MySQL Query - How to select records of today to next Sunday ?

    Open Post

    PHP - import excel file into mysql database tutorial

    PHP - import excel file into mysql database tutorial

    Open Post

    Laravel 5 create and download zip file example using chumper/zipper composer package

    Laravel 5 create and download zip file example using chumper/zipper composer package

    Open Post

    Laravel 5 generate sitemap using roumen/sitemap package Example

    Laravel 5 generate sitemap using roumen/sitemap package Example

    Open Post