Skip to content

Commit 602ec77

Browse files
committed
Remove samesite validation
1 parent 476be9e commit 602ec77

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ private function addMercureNode(ArrayNodeDefinition $rootNode): void
5757
->addDefaultsIfNotSet()
5858
->children()
5959
->scalarNode('samesite')->defaultValue(Cookie::SAMESITE_STRICT)
60-
->validate()
61-
->ifNotInArray([Cookie::SAMESITE_STRICT, Cookie::SAMESITE_LAX, Cookie::SAMESITE_NONE])
62-
->thenInvalid('Invalid Mercure cookie samesite value %s')
63-
->end()
6460
->end()
6561
->end()
6662
->end()

0 commit comments

Comments
 (0)