Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ddef55e

Browse filesBrowse files
[SecurityBundle] Fix container.build_hash parameter binding
1 parent 54d6c0b commit ddef55e
Copy full SHA for ddef55e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/SecurityBundle/DependencyInjection/Security/Factory/LoginThrottlingFactory.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use Symfony\Component\DependencyInjection\ChildDefinition;
1717
use Symfony\Component\DependencyInjection\ContainerBuilder;
1818
use Symfony\Component\DependencyInjection\Exception\LogicException;
19+
use Symfony\Component\DependencyInjection\Parameter;
1920
use Symfony\Component\DependencyInjection\Reference;
2021
use Symfony\Component\HttpFoundation\RateLimiter\RequestRateLimiterInterface;
2122
use Symfony\Component\Lock\LockInterface;
@@ -76,7 +77,7 @@ public function createAuthenticator(ContainerBuilder $container, string $firewal
7677
$container->register($config['limiter'] = 'security.login_throttling.'.$firewallName.'.limiter', DefaultLoginRateLimiter::class)
7778
->addArgument(new Reference('limiter.'.$globalId))
7879
->addArgument(new Reference('limiter.'.$localId))
79-
->addArgument('%container.build_hash%')
80+
->addArgument(new Parameter('container.build_hash'))
8081
;
8182
}
8283

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.