Skip to content

Commit

Permalink
Change ThrottlesLogins lockout response code to HTTP 429 (#24002)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebathman authored and taylorotwell committed Apr 25, 2018
1 parent 71729a2 commit 9b27568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/Auth/ThrottlesLogins.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ protected function sendLockoutResponse(Request $request)

throw ValidationException::withMessages([
$this->username() => [Lang::get('auth.throttle', ['seconds' => $seconds])],
])->status(423);
])->status(429);
}

/**
Expand Down

0 comments on commit 9b27568

Please sign in to comment.