Skip to content

Commit

Permalink
Merge pull request #30017 from redelschaap/patch-1
Browse files Browse the repository at this point in the history
[6.x] Fix a typo in auth.throttle change
  • Loading branch information
GrahamCampbell authored Sep 17, 2019
2 parents 26471a4 + 20b0132 commit e11246c
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 @@ -55,7 +55,7 @@ protected function sendLockoutResponse(Request $request)
throw ValidationException::withMessages([
$this->username() => [Lang::get('auth.throttle', [
'seconds' => $seconds,
'minutes' => ceil($seconds * 60),
'minutes' => ceil($seconds / 60),
])],
])->status(Response::HTTP_TOO_MANY_REQUESTS);
}
Expand Down

0 comments on commit e11246c

Please sign in to comment.