Update captcha parameters in Manager (#703)

This commit is contained in:
Clément Oudot 2014-06-11 10:46:43 +00:00
parent 1b6655a431
commit 525d43ade8
4 changed files with 20 additions and 11 deletions

View File

@ -104,6 +104,7 @@ sub unserialize {
$k =~ /^(?x:
applicationList
|authChoiceModules
|captchaStorageOptions
|CAS_proxiedServices
|casStorageOptions
|dbiExportedVars
@ -113,7 +114,7 @@ sub unserialize {
|facebookExportedVars
|globalStorageOptions
|googleExportedVars
|grantSessionRules
|grantSessionRules
|groups
|ldapExportedVars
|localSessionStorageOptions
@ -125,7 +126,7 @@ sub unserialize {
|persistentStorageOptions
|portalSkinRules
|post
|reloadUrls
|reloadUrls
|remoteGlobalStorageOptions
|samlIDPMetaDataExportedAttributes
|samlIDPMetaDataOptions
@ -134,7 +135,7 @@ sub unserialize {
|samlSPMetaDataOptions
|samlSPMetaDataXML
|samlStorageOptions
|sessionDataToRemember
|sessionDataToRemember
|slaveExportedVars
|vhostOptions
|webIDExportedVars

View File

@ -33,6 +33,7 @@ var helpCh = {
'authTwitter': '/pages/documentation/current/authtwitter.html',
'authWebID': '/pages/documentation/current/authwebid.html',
'authYubikey': '/pages/documentation/current/authyubikey.html',
'captcha': '/pages/documentation/current/captcha.html',
'cookies': '/pages/documentation/current/ssocookie.html',
'customfunctions': '/pages/documentation/current/customfunctions.html',
'default': '/pages/documentation/current/start.html#configuration',

View File

@ -349,15 +349,22 @@ sub struct {
portalCaptcha => {
_nodes => [
qw(captcha_login_enabled captcha_mail_enabled captcha_register_enabled captcha_size captcha_data captcha_output)
qw(captcha_login_enabled captcha_mail_enabled captcha_register_enabled captcha_size captchaStorage captchaStorageOptions)
],
_help => 'captcha',
captcha_login_enabled => 'bool:/captcha_login_enabled',
captcha_mail_enabled => 'bool:/captcha_mail_enabled',
captcha_register_enabled =>
'bool:/captcha_register_enabled',
captcha_size => 'int:/captcha_size',
captcha_data => 'text:/captcha_data',
captcha_output => 'text:/captcha_output',
captcha_size => 'int:/captcha_size',
captchaStorage => 'text:/captchaStorage',
captchaStorageOptions => {
_nodes => ['hash:/captchaStorageOptions:captcha:btext'],
_js => 'hashRoot',
_help => 'captcha',
},
},
},

View File

@ -109,12 +109,12 @@ sub en {
demoExportedVars => 'Exported variables',
demoParams => 'Demonstration parameters',
done => 'done',
captcha_data => 'Directory for data',
captcha_login_enabled => 'Activation in login form',
captcha_mail_enabled => 'Activation in password reset by mail form',
captcha_register_enabled => 'Activation in register form',
captcha_output => 'Directory for images',
captcha_size => 'Size',
captchaStorage => 'Captcha module name',
captchaStorageOptions => 'Captcha module options',
CAS_authnLevel => 'Authentication level',
CAS_CAFile => 'CA file',
CAS_gateway => 'Gateway authentication',
@ -609,15 +609,15 @@ sub fr {
demoExportedVars => 'Variables exportées',
demoParams => 'Paramètres démonstration',
done => 'validée',
captcha_data => 'Répertoire des données',
captcha_login_enabled =>
"Activation dans le formulaire d'authentification",
captcha_mail_enabled =>
'Activation dans le formulaire de réinitialisation par mail',
captcha_register_enabled =>
'Activation dans le formulaire de création de compte',
captcha_output => 'Répertoire des images',
captcha_size => 'Taille',
captchaStorage => 'Nom du module de stockage',
captchaStorageOptions => 'Options du module de stockage',
CAS_authnLevel => 'Niveau d\'authentification',
CAS_CAFile => 'Fichier d\'AC',
CAS_gateway => 'Authentification transparente',