Commit 3e85f1f6 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Fix conf options (#1482 & #1483)

parent 77c36cc9
......@@ -125,7 +125,7 @@ sub defaultValues {
'max2FDevicesNameLength' => 20,
'multiValuesSeparator' => '; ',
'mySessionAuthorizedRWKeys' =>
[ '_appsListOrder', '_oidcConnectedRP', '_oidc_consent_*' ],
[ '_appsListOrder', '_oidcConnectedRP', '_oidcConsents' ],
'notificationStorage' => 'File',
'notificationStorageOptions' => {
'dirName' => '/var/lib/lemonldap-ng/notifications'
......
......@@ -749,7 +749,8 @@ qr/(?:(?:https?):\/\/(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.]
'type' => 'text'
},
'checkState' => {
'type' => 'bool'
'default' => 0,
'type' => 'bool'
},
'checkStateSecret' => {
'type' => 'text'
......@@ -1603,7 +1604,7 @@ qr/^(?:\*\.)?(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][
},
'mySessionAuthorizedRWKeys' => {
'default' =>
[ '_appsListOrder', '_oidcConnectedRP', '_oidc_consent_*' ],
[ '_appsListOrder', '_oidcConnectedRP', '_oidcConsents' ],
'type' => 'array'
},
'nginxCustomHandlers' => {
......@@ -3163,7 +3164,8 @@ qr/^(?:(?:(?:(?:(?:(?:[a-zA-Z0-9][-a-zA-Z0-9]*)?[a-zA-Z0-9])[.])*(?:[a-zA-Z][-a-
'type' => 'bool'
},
'stayConnected' => {
'type' => 'bool'
'default' => 0,
'type' => 'bool'
},
'storePassword' => {
'default' => 0,
......
......@@ -229,7 +229,7 @@ sub attributes {
type => 'array',
documentation => 'Alterable session keys by user itself',
default =>
[ '_appsListOrder', '_oidcConnectedRP', '_oidc_consent_*' ],
[ '_appsListOrder', '_oidcConnectedRP', '_oidcConsents' ],
},
configStorage => {
type => 'text',
......@@ -382,10 +382,12 @@ sub attributes {
},
stayConnected => {
type => 'bool',
default => 0,
documentation => 'Enable StayConnected plugin',
},
checkState => {
type => 'bool',
default => 0,
documentation => 'Enable CheckState plugin',
},
checkStateSecret => {
......
......@@ -624,12 +624,13 @@ sub tree {
{
title => 'autoSignin',
help => 'autosignin.html',
nodes => ['autoSigninRules']
nodes => ['autoSigninRules'],
},
{
title => 'stateCheck',
help => 'checkstate.html',
nodes => [ 'checkState', 'checkStateSecret', ]
form => 'simpleInputContainer',
nodes => [ 'checkState', 'checkStateSecret', ],
},
]
},
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment