Skip to content

Commit 88fb088

Browse files
committed
Security hardening - Rate limiter
1 parent 5be7ded commit 88fb088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RateLimiter/DefaultLoginRateLimiter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function getLimiters(Request $request): array
4141
{
4242
return [
4343
$this->globalFactory->create($request->getClientIp()),
44-
$this->localFactory->create($request->attributes->get(Security::LAST_USERNAME).$request->getClientIp()),
44+
$this->localFactory->create($request->attributes->get(Security::LAST_USERNAME).'-'.$request->getClientIp()),
4545
];
4646
}
4747
}

0 commit comments

Comments
 (0)