From 53b520fac0532822ed72f8b7fdb5a11cb6b86cec Mon Sep 17 00:00:00 2001 From: jakebathman Date: Fri, 20 Apr 2018 15:57:25 -0500 Subject: [PATCH] Change ThrottlesLogins lockout response code to HTTP 429 --- src/Illuminate/Foundation/Auth/ThrottlesLogins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/Auth/ThrottlesLogins.php b/src/Illuminate/Foundation/Auth/ThrottlesLogins.php index 5235299faa30..fc50720f74cd 100644 --- a/src/Illuminate/Foundation/Auth/ThrottlesLogins.php +++ b/src/Illuminate/Foundation/Auth/ThrottlesLogins.php @@ -52,7 +52,7 @@ protected function sendLockoutResponse(Request $request) throw ValidationException::withMessages([ $this->username() => [Lang::get('auth.throttle', ['seconds' => $seconds])], - ])->status(423); + ])->status(429); } /**