Skip to content

Commit 02d9686

Browse files
tamcynicolas-grekas
authored andcommitted
[HttpKernel] Configure session.cookie_secure earlier
1 parent c771f3b commit 02d9686

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Session/Storage/NativeSessionStorage.php

+3
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,9 @@ public function setOptions(array $options)
389389
$this->emulateSameSite = $value;
390390
continue;
391391
}
392+
if ('cookie_secure' === $key && 'auto' === $value) {
393+
continue;
394+
}
392395
ini_set('url_rewriter.tags' !== $key ? 'session.'.$key : $key, $value);
393396
}
394397
}

0 commit comments

Comments
 (0)