Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Commit dcc5345

Browse files
committed
Change lockout reponse code to too many requests response code
1 parent 5519dcb commit dcc5345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/ThrottlesTwoFactorAuths.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ protected function sendLockoutResponse(Request $request)
4949
$errors = ['token' => $message];
5050

5151
if ($request->expectsJson()) {
52-
return response()->json($errors, 423);
52+
return response()->json($errors, 429);
5353
}
5454

5555
return redirect()->to('/login')

0 commit comments

Comments
 (0)