Skip to content

Commit 6f9ee5c

Browse files
authored
Use trans helper instead of Lang Facade (#201)
1 parent 1fbf6af commit 6f9ee5c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: auth-backend/ThrottlesLogins.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Illuminate\Cache\RateLimiter;
77
use Illuminate\Http\Request;
88
use Illuminate\Http\Response;
9-
use Illuminate\Support\Facades\Lang;
109
use Illuminate\Support\Str;
1110
use Illuminate\Validation\ValidationException;
1211

@@ -53,7 +52,7 @@ protected function sendLockoutResponse(Request $request)
5352
);
5453

5554
throw ValidationException::withMessages([
56-
$this->username() => [Lang::get('auth.throttle', [
55+
$this->username() => [trans('auth.throttle', [
5756
'seconds' => $seconds,
5857
'minutes' => ceil($seconds / 60),
5958
])],

0 commit comments

Comments
 (0)