We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fbf6af commit 6f9ee5cCopy full SHA for 6f9ee5c
auth-backend/ThrottlesLogins.php
@@ -6,7 +6,6 @@
6
use Illuminate\Cache\RateLimiter;
7
use Illuminate\Http\Request;
8
use Illuminate\Http\Response;
9
-use Illuminate\Support\Facades\Lang;
10
use Illuminate\Support\Str;
11
use Illuminate\Validation\ValidationException;
12
@@ -53,7 +52,7 @@ protected function sendLockoutResponse(Request $request)
53
52
);
54
55
throw ValidationException::withMessages([
56
- $this->username() => [Lang::get('auth.throttle', [
+ $this->username() => [trans('auth.throttle', [
57
'seconds' => $seconds,
58
'minutes' => ceil($seconds / 60),
59
])],
0 commit comments