From 6958bdc0bef08b91e557aaeda69e8e57aef65ac8 Mon Sep 17 00:00:00 2001 From: Jesse Rushlow Date: Mon, 22 Mar 2021 06:04:25 -0400 Subject: [PATCH] improve login throttling rate limiter requirement message --- .../Security/Factory/LoginThrottlingFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/LoginThrottlingFactory.php b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/LoginThrottlingFactory.php index c0aa37ec88..1ff09a48ac 100644 --- a/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/LoginThrottlingFactory.php +++ b/src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/LoginThrottlingFactory.php @@ -64,7 +64,7 @@ class LoginThrottlingFactory implements AuthenticatorFactoryInterface, SecurityF } if (!class_exists(RateLimiterFactory::class)) { - throw new \LogicException('Login throttling requires symfony/rate-limiter to be installed and enabled.'); + throw new \LogicException('Login throttling requires the Rate Limiter component. Try running "composer require symfony/rate-limiter".'); } if (!isset($config['limiter'])) {