Skip to content

Commit

Permalink
Throttle password reset requests to 5 every 60 seconds
Browse files Browse the repository at this point in the history
Signed-off-by: snipe <snipe@snipe.net>
  • Loading branch information
snipe committed Oct 8, 2021
1 parent 1c77fd0 commit 7027912
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/Auth/ForgotPasswordController.php
Expand Up @@ -29,6 +29,7 @@ class ForgotPasswordController extends Controller
public function __construct()
{
$this->middleware('guest');
$this->middleware('throttle:5,60', ['except' => 'showLinkRequestForm']);
}

/**
Expand Down

0 comments on commit 7027912

Please sign in to comment.