Skip to content

Commit 86c8f97

Browse files
bug symfony#52506 [SecurityBundle] wire the secret for Symfony 6.4 compatibility (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [SecurityBundle] wire the secret for Symfony 6.4 compatibility | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- a15eae4 wire the secret for Symfony 6.4 compatibility
2 parents 9b2c2a4 + a15eae4 commit 86c8f97

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public function createAuthenticator(ContainerBuilder $container, string $firewal
8989
$container->register($config['limiter'] = 'security.login_throttling.'.$firewallName.'.limiter', DefaultLoginRateLimiter::class)
9090
->addArgument(new Reference('limiter.'.$globalId))
9191
->addArgument(new Reference('limiter.'.$localId))
92+
->addArgument('%kernel.secret%')
9293
;
9394
}
9495

0 commit comments

Comments
 (0)