Skip to content

Commit 151ee0e

Browse files
committed
Allow to set cookie_samesite to 'none'
1 parent fca7654 commit 151ee0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ private function addSessionSection(ArrayNodeDefinition $rootNode)
542542
->scalarNode('cookie_domain')->end()
543543
->enumNode('cookie_secure')->values([true, false, 'auto'])->end()
544544
->booleanNode('cookie_httponly')->defaultTrue()->end()
545-
->enumNode('cookie_samesite')->values([null, Cookie::SAMESITE_LAX, Cookie::SAMESITE_STRICT])->defaultNull()->end()
545+
->enumNode('cookie_samesite')->values([null, Cookie::SAMESITE_LAX, Cookie::SAMESITE_STRICT, Cookie::SAMESITE_NONE])->defaultNull()->end()
546546
->booleanNode('use_cookies')->end()
547547
->scalarNode('gc_divisor')->end()
548548
->scalarNode('gc_probability')->defaultValue(1)->end()

0 commit comments

Comments
 (0)