Skip to content

Commit 7d72f93

Browse files
committed
bug symfony#17373 [SecurityBundle] fix SecureRandom service constructor args (Tobion)
This PR was merged into the 2.3 branch. Discussion ---------- [SecurityBundle] fix SecureRandom service constructor args | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#17359 | License | MIT | Doc PR | - Commits ------- 50d55f6 [SecurityBundle] fix SecureRandom service constructor args
2 parents 9d18913 + 50d55f6 commit 7d72f93

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/Symfony/Bundle/SecurityBundle/Resources/config/security.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@
141141
</service>
142142

143143
<!-- Pseudorandom Number Generator -->
144-
<service id="security.secure_random" class="Symfony\Component\Security\Core\Util\SecureRandom">
145-
<tag name="monolog.logger" channel="security" />
146-
<argument>%kernel.cache_dir%/secure_random.seed</argument>
147-
<argument type="service" id="logger" on-invalid="ignore" />
148-
</service>
144+
<service id="security.secure_random" class="Symfony\Component\Security\Core\Util\SecureRandom" />
149145
</services>
150146
</container>

src/Symfony/Bundle/SecurityBundle/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": ">=5.3.3",
20-
"symfony/security": "~2.2",
20+
"symfony/security": "~2.3.37|~2.6.13|~2.7.9|~2.8",
2121
"symfony/security-acl": "~2.2",
2222
"symfony/http-kernel": "~2.2"
2323
},

0 commit comments

Comments
 (0)