Skip to content

Commit 88ee1d2

Browse files
committed
HttpExtension: cookieSecure is by default 'auto' (BC break)
1 parent 2706e7b commit 88ee1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridges/HttpDI/HttpExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function getConfigSchema(): Nette\Schema\Schema
4040
'csp' => Expect::arrayOf('array|scalar|null'), // Content-Security-Policy
4141
'cspReportOnly' => Expect::arrayOf('array|scalar|null'), // Content-Security-Policy-Report-Only
4242
'featurePolicy' => Expect::arrayOf('array|scalar|null'), // Feature-Policy
43-
'cookieSecure' => Expect::anyOf(null, true, false, 'auto'), // true|false|auto Whether the cookie is available only through HTTPS
43+
'cookieSecure' => Expect::anyOf(null, true, false, 'auto')->default('auto'), // true|false|auto Whether the cookie is available only through HTTPS
4444
]);
4545
}
4646

0 commit comments

Comments
 (0)