Skip to content

Commit

Permalink
SessionExtension: default is autoStart = false (BC break)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 5, 2021
1 parent c4e55fd commit d182017
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bridges/HttpDI/SessionExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function getConfigSchema(): Nette\Schema\Schema
{
return Expect::structure([
'debugger' => Expect::bool(false),
'autoStart' => Expect::anyOf('smart', true, false)->default('smart'),
'autoStart' => Expect::anyOf('smart', true, false)->default(false),
'expiration' => Expect::string()->dynamic(),
'handler' => Expect::string()->dynamic(),
'readAndClose' => Expect::bool(),
Expand Down

0 comments on commit d182017

Please sign in to comment.