Skip to content

Commit

Permalink
do not throttle on sign-time check
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey18106 committed Aug 7, 2023
1 parent 24ef7d4 commit f3553a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Service/AppEcosystemV2Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,6 @@ public function validateExAppRequestToNC(IRequest $request, bool $isDav = false)
$signTime = $request->getHeader('AE-SIGN-TIME');
if (!$this->verifySignTime($signTime)) {
$this->logger->error(sprintf('Sign time %s is not valid', $signTime));
$this->throttler->registerAttempt(Application::APP_ID, $request->getRemoteAddress());
return false;
}
$headers['AE-SIGN-TIME'] = $signTime;
Expand Down

0 comments on commit f3553a6

Please sign in to comment.