diff --git a/auth-backend/ThrottlesLogins.php b/auth-backend/ThrottlesLogins.php index 8f63237..ec04032 100644 --- a/auth-backend/ThrottlesLogins.php +++ b/auth-backend/ThrottlesLogins.php @@ -6,7 +6,6 @@ use Illuminate\Cache\RateLimiter; use Illuminate\Http\Request; use Illuminate\Http\Response; -use Illuminate\Support\Facades\Lang; use Illuminate\Support\Str; use Illuminate\Validation\ValidationException; @@ -53,7 +52,7 @@ protected function sendLockoutResponse(Request $request) ); throw ValidationException::withMessages([ - $this->username() => [Lang::get('auth.throttle', [ + $this->username() => [trans('auth.throttle', [ 'seconds' => $seconds, 'minutes' => ceil($seconds / 60), ])],