Skip to content

Commit

Permalink
Disable ip limiter for now since nuxt send server ip and not client ip
Browse files Browse the repository at this point in the history
  • Loading branch information
froozeify committed Sep 16, 2024
1 parent 86f4d1a commit cfff11b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventSubscriber/Kernel/LoginSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ public function requestEvent(RequestEvent $event): void {
return;
}

$ipLimiter = $this->ipLoginLimiter->create($ip);
$ipLimiter->consume(1)->ensureAccepted();
// $ipLimiter = $this->ipLoginLimiter->create($ip);
// $ipLimiter->consume(1)->ensureAccepted();

$memberLimiter = $this->getMemberLimiter();
$memberLimiter?->consume(1)->ensureAccepted();
Expand Down

0 comments on commit cfff11b

Please sign in to comment.