Set a default value to encryption key
This commit is contained in:
parent
85d384bac1
commit
416fa64a0d
|
@ -668,10 +668,11 @@ sub struct {
|
|||
},
|
||||
|
||||
security => {
|
||||
_nodes => [qw(userControl portalForceAuthn)],
|
||||
_nodes => [qw(userControl portalForceAuthn key)],
|
||||
userControl => 'text:/userControl:userControl:text',
|
||||
portalForceAuthn =>
|
||||
'bool:/portalForceAuthn:portalForceAuthn:bool',
|
||||
key => 'text:/key:key:text',
|
||||
},
|
||||
|
||||
redirection => {
|
||||
|
@ -1151,6 +1152,7 @@ sub testStruct {
|
|||
1;
|
||||
},
|
||||
},
|
||||
key => $testNotDefined,
|
||||
ldapAuthnLevel => $integer,
|
||||
ldapBase => {
|
||||
test => qr/^(?:\w+=.*|)$/,
|
||||
|
@ -1528,6 +1530,7 @@ sub defaultConf {
|
|||
issuerDBOpenIDActivation => '0',
|
||||
issuerDBOpenIDPath => '^/openidserver/',
|
||||
issuerDBOpenIDRule => '1',
|
||||
key => join( '', map { chr( int( rand(94) ) + 33 ) } ( 1 .. 16 ) ),
|
||||
ldapBase => 'dc=example,dc=com',
|
||||
ldapPort => '389',
|
||||
ldapPwdEnc => 'utf-8',
|
||||
|
|
|
@ -143,6 +143,7 @@ sub en {
|
|||
issuerDBOpenIDActivation => 'Activation',
|
||||
issuerDBOpenIDPath => 'Path',
|
||||
issuerDBOpenIDRule => 'Use rule',
|
||||
key => 'Encryption key',
|
||||
ldap => 'LDAP',
|
||||
ldapAuthnLevel => 'Authentication level',
|
||||
ldapBase => 'Users search base',
|
||||
|
@ -492,6 +493,7 @@ sub fr {
|
|||
issuerDBOpenIDActivation => 'Activation',
|
||||
issuerDBOpenIDPath => 'Chemin',
|
||||
issuerDBOpenIDRule => 'Règle d\'utilisation',
|
||||
key => 'Clef de chiffrement',
|
||||
ldap => 'LDAP',
|
||||
ldapAuthnLevel => 'Niveau d\'authentification',
|
||||
ldapBase => 'Base de recherche des utilisateurs',
|
||||
|
|
Loading…
Reference in New Issue
Block a user