8000 [SecurityBundle] fix SecureRandom service constructor args · symfony/symfony@50d55f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 50d55f6

Browse files
committed
[SecurityBundle] fix SecureRandom service constructor args
1 parent bbbb079 commit 50d55f6

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)
0