Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 23, 2018
1 parent 47573f6 commit 237caed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Illuminate/Foundation/Auth/ThrottlesLogins.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use Illuminate\Http\Request;
use Illuminate\Cache\RateLimiter;
use Illuminate\Auth\Events\Lockout;
use Illuminate\Support\Facades\Lang;
use Illuminate\Validation\ValidationException;

trait ThrottlesLogins
Expand Down Expand Up @@ -50,7 +51,7 @@ protected function sendLockoutResponse(Request $request)
);

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

Expand Down

0 comments on commit 237caed

Please sign in to comment.