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