I'm using Laravel's Auth Throttling feature and it is working correctly but I would like to know how to clear the login attempts for that email? http://laravel.com/docs/5.1/authentication#authentication-throttling
currently the lockout time is at "Too many login attempts. Please try again in 5418 seconds"
run this in the console php artisan cache:clear
and you're good to go
In your controller that includes the ThrottlesLogins
trait, create a new route handler method:
public function clearThrottle(Request $request) {
$this->clearLoginAttempts($request);
// Forward elsewhere or display a view
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With