Skip to content

Commit e6fb8ac

Browse files
committed
improve login throttling rate limiter requirement message
1 parent 52a7094 commit e6fb8ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Security/Factory/LoginThrottlingFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function createAuthenticator(ContainerBuilder $container, string $firewal
6464
}
6565

6666
if (!class_exists(RateLimiterFactory::class)) {
67-
throw new \LogicException('Login throttling requires symfony/rate-limiter to be installed and enabled.');
67+
throw new \LogicException('Login throttling requires the Rate Limiter component. Try running "composer require symfony/rate-limiter".');
6868
}
6969

7070
if (!isset($config['limiter'])) {

0 commit comments

Comments
 (0)