Skip to content

Commit 962751f

Browse files
committed
[HttpFoundation][FrameworkBundle] clock support for UriSigner
1 parent 0839cc6 commit 962751f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Resources/config/services.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ class_exists(WorkflowEvents::class) ? WorkflowEvents::ALIASES : []
158158
->set('uri_signer', UriSigner::class)
159159
->args([
160160
new Parameter('kernel.secret'),
161+
'_hash',
162+
'_expiration',
163+
service('clock')->nullOnInvalid(),
161164
])
162165
->lazy()
163166
->alias(UriSigner::class, 'uri_signer')

0 commit comments

Comments
 (0)