Commit bef0966a authored by Xavier Guimard's avatar Xavier Guimard

Add ini-only parameters (#1148)

parent 06cb8a6e
......@@ -607,6 +607,12 @@ sub attributes {
'autoSigninRules' => {
'type' => 'keyTextContainer'
},
'available2F' => {
'type' => 'text'
},
'available2FSelfRegistration' => {
'type' => 'text'
},
'captcha_login_enabled' => {
'default' => 0,
'type' => 'bool'
......
......@@ -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 => {
......
......@@ -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',
......
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