mirror of
https://github.com/getgrav/grav.git
synced 2025-10-26 07:56:07 +01:00
Hide the session setting in admin as turning it off crashes the admin.
This commit is contained in:
@@ -745,13 +745,14 @@ form:
|
||||
|
||||
fields:
|
||||
session.enabled:
|
||||
type: toggle
|
||||
type: hidden
|
||||
label: PLUGIN_ADMIN.ENABLED
|
||||
help: PLUGIN_ADMIN.SESSION_ENABLED_HELP
|
||||
highlight: 1
|
||||
options:
|
||||
1: PLUGIN_ADMIN.YES
|
||||
0: PLUGIN_ADMIN.NO
|
||||
default: true
|
||||
validate:
|
||||
type: bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user