Add ini-only parameters (#1148)

This commit is contained in:
Xavier Guimard 2018-03-08 20:43:50 +01:00
parent 06cb8a6e11
commit bef0966ac4
3 changed files with 21 additions and 3 deletions

View File

@ -607,6 +607,12 @@ sub attributes {
'autoSigninRules' => {
'type' => 'keyTextContainer'
},
'available2F' => {
'type' => 'text'
},
'available2FSelfRegistration' => {
'type' => 'text'
},
'captcha_login_enabled' => {
'default' => 0,
'type' => 'bool'

View File

@ -1983,10 +1983,19 @@ sub attributes {
# Seconf Factor Engine
sfEngine => {
type => 'text',
default => '::2F::Engine::Default',
type => 'text',
default => '::2F::Engine::Default',
documentation => 'Second factor engine',
},
available2F => {
type => 'text',
documentation => 'Available second factor modules',
},
available2FSelfRegistration => {
type => 'text',
documentation =>
'Available self-registration modules for second factor',
},
# DEMO
demoExportedVars => {

View File

@ -18,7 +18,10 @@ my @notManagedAttributes = (
# Complex nodes
'samlSPMetaDataOptions', 'samlIDPMetaDataOptions', 'oidcRPMetaDataOptions',
'oidcOPMetaDataOptions', 'casSrvMetaDataOptions', 'casAppMetaDataOptions',
'vhostOptions', 'sfEngine',
'vhostOptions',
# Second factor engine and lists of 2F modules
'sfEngine', 'available2FSelfRegistration', 'available2F',
# Metadatas (added by manager itself)
'cfgAuthor', 'cfgAuthorIP', 'cfgNum', 'cfgDate', 'cfgLog', 'cfgVersion',