Skip to content

Commit

Permalink
refactor: removed unused class
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentauger committed Nov 6, 2024
1 parent 1f1525e commit 43faf29
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/Filament/Requests/Auth/LoginRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use App\Models\User;
use DanHarrin\LivewireRateLimiting\Exceptions\TooManyRequestsException;
use DanHarrin\LivewireRateLimiting\WithRateLimiting;
use Filament\Facades\Filament;
use Filament\Http\Responses\Auth\Contracts\LoginResponse;
use Filament\Models\Contracts\FilamentUser;
Expand All @@ -15,8 +14,6 @@

class LoginRequest extends BaseAuth
{
use WithRateLimiting;

protected int $maxAttempts;

protected int $decaySeconds;
Expand Down Expand Up @@ -82,7 +79,7 @@ public function ensureIsNotRateLimited()
$this->logLockout();

$component = static::class;
$method = __FUNCTION__;
$method = __FUNCTION__;
$seconds = RateLimiter::availableIn($this->throttleKey());
$ip = request()->ip();

Expand Down

0 comments on commit 43faf29

Please sign in to comment.