Skip to content

Commit 94d1d90

Browse files
committed
HttpExtension: cookieSecure is by default 'auto' (BC break)
1 parent 0ec513a commit 94d1d90

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
@@ -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)