Set default values for BrowserID parameters (#595)
This commit is contained in:
parent
4ec26d5f46
commit
4cde65c825
|
@ -18,6 +18,11 @@ sub defaultValues {
|
||||||
'authChoiceParam' => 'lmAuth',
|
'authChoiceParam' => 'lmAuth',
|
||||||
'authentication' => 'Demo',
|
'authentication' => 'Demo',
|
||||||
'browserIdAuthnLevel' => 1,
|
'browserIdAuthnLevel' => 1,
|
||||||
|
'browserIdAutoLogin' => 0,
|
||||||
|
'browserIdBackgroundColor' => '#000',
|
||||||
|
'browserIdSiteName' => 'LemonLDAP::NG',
|
||||||
|
'browserIdVerificationURL' =>
|
||||||
|
'https://verifier.login.persona.org/verify',
|
||||||
'captcha_login_enabled' => 0,
|
'captcha_login_enabled' => 0,
|
||||||
'captcha_mail_enabled' => 0,
|
'captcha_mail_enabled' => 0,
|
||||||
'captcha_register_enabled' => 1,
|
'captcha_register_enabled' => 1,
|
||||||
|
|
|
@ -566,19 +566,23 @@ sub attributes {
|
||||||
'type' => 'int'
|
'type' => 'int'
|
||||||
},
|
},
|
||||||
'browserIdAutoLogin' => {
|
'browserIdAutoLogin' => {
|
||||||
'type' => 'bool'
|
'default' => 0,
|
||||||
|
'type' => 'bool'
|
||||||
},
|
},
|
||||||
'browserIdBackgroundColor' => {
|
'browserIdBackgroundColor' => {
|
||||||
'type' => 'text'
|
'default' => '#000',
|
||||||
|
'type' => 'text'
|
||||||
},
|
},
|
||||||
'browserIdSiteLogo' => {
|
'browserIdSiteLogo' => {
|
||||||
'type' => 'text'
|
'type' => 'text'
|
||||||
},
|
},
|
||||||
'browserIdSiteName' => {
|
'browserIdSiteName' => {
|
||||||
'type' => 'text'
|
'default' => 'LemonLDAP::NG',
|
||||||
|
'type' => 'text'
|
||||||
},
|
},
|
||||||
'browserIdVerificationURL' => {
|
'browserIdVerificationURL' => {
|
||||||
'type' => 'text'
|
'default' => 'https://verifier.login.persona.org/verify',
|
||||||
|
'type' => 'text'
|
||||||
},
|
},
|
||||||
'captcha_login_enabled' => {
|
'captcha_login_enabled' => {
|
||||||
'default' => 0,
|
'default' => 0,
|
||||||
|
|
|
@ -2140,11 +2140,11 @@ m{^(?:ldapi://[^/]*/?|\w[\w\-\.]*(?::\d{1,5})?|ldap(?:s|\+tls)?://\w[\w\-\.]*(?:
|
||||||
default => 1,
|
default => 1,
|
||||||
documentation => 'Browser ID authentication level',
|
documentation => 'Browser ID authentication level',
|
||||||
},
|
},
|
||||||
browserIdAutoLogin => { type => 'bool', },
|
browserIdAutoLogin => { type => 'bool', default => 0 },
|
||||||
browserIdVerificationURL => { type => 'text', },
|
browserIdVerificationURL => { type => 'text', default => 'https://verifier.login.persona.org/verify', },
|
||||||
browserIdSiteName => { type => 'text', },
|
browserIdSiteName => { type => 'text', default => 'LemonLDAP::NG', },
|
||||||
browserIdSiteLogo => { type => 'text', },
|
browserIdSiteLogo => { type => 'text', },
|
||||||
browserIdBackgroundColor => { type => 'text', },
|
browserIdBackgroundColor => { type => 'text', default => '#000', },
|
||||||
|
|
||||||
# OpenID Connect auth params
|
# OpenID Connect auth params
|
||||||
oidcAuthnLevel => {
|
oidcAuthnLevel => {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user