Skip to content

Commit

Permalink
Added setting to disable sessions from the site [#2013]
Browse files Browse the repository at this point in the history
  • Loading branch information
mahagr committed Jun 14, 2018
1 parent 9ca427e commit bbfbdec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Added `Grav\Framework\Session` class to replace `RocketTheme\Toolbox\Session\Session`
* Added `Grav\Common\Media` interfaces and trait; use those in `Page` and `Media` classes
* Added `Grav\Common\Page` interface to allow custom page types in the future
* Added setting to disable sessions from the site [#2013](https://github.com/getgrav/grav/issues/2013)
1. [](#improved)
* Improved session handling, allow all session configuration options in `system.session.options`
1. [](#bugfix)
Expand Down
12 changes: 12 additions & 0 deletions system/blueprints/config/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,18 @@ form:
validate:
type: bool

session.initialize:
type: toggle
label: PLUGIN_ADMIN.SESSION_INITIALIZE
help: PLUGIN_ADMIN.SESSION_INITIALIZE_HELP
highlight: 1
options:
1: PLUGIN_ADMIN.YES
0: PLUGIN_ADMIN.NO
default: true
validate:
type: bool

session.timeout:
type: text
size: small
Expand Down

0 comments on commit bbfbdec

Please sign in to comment.