Added setting to disable sessions from the site [#2013]

This commit is contained in:
Matias Griese
2018-06-14 19:23:35 +03:00
parent 9ca427e369
commit bbfbdec483
2 changed files with 13 additions and 0 deletions

View File

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

View File

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