Skip to content

Commit 574f573

Browse files
[SecurityBundle] Use %container.build_hash% instead of %kernel.secret% with the rate-limiter
1 parent 4bf657a commit 574f573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/LoginThrottlingFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function createAuthenticator(ContainerBuilder $container, string $firewal
7676
$container->register($config['limiter'] = 'security.login_throttling.'.$firewallName.'.limiter', DefaultLoginRateLimiter::class)
7777
->addArgument(new Reference('limiter.'.$globalId))
7878
->addArgument(new Reference('limiter.'.$localId))
79-
->addArgument('%kernel.secret%')
79+
->addArgument('%container.build_hash%')
8080
;
8181
}
8282

0 commit comments

Comments
 (0)