Skip to content

Commit 518f8e5

Browse files
committed
HttpExtension: cookieSecure is by default 'auto' (BC break)
1 parent 7e1c0bf commit 518f8e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Bridges/HttpDI/HttpExtension.php

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

0 commit comments

Comments
 (0)