mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Fix a bug where the redirect route is unable to resolve when rate limited
This commit is contained in:
parent
8fc9c680d5
commit
cd4d457bc0
@ -49,7 +49,7 @@ class ThrottleDisplayer implements DisplayerInterface
|
||||
*/
|
||||
public function display(Exception $exception, $id, $code, array $headers)
|
||||
{
|
||||
return redirect()->route('auth.login')->withError(trans('forms.login.rate-limit'));
|
||||
return cachet_redirect('auth.login')->withError(trans('forms.login.rate-limit'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user