mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 03:27:08 +02: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