diff --git a/out/src/js/oxpspasswordpolicy.js b/out/src/js/oxpspasswordpolicy.js index 1a6730ee..9ac74df7 100644 --- a/out/src/js/oxpspasswordpolicy.js +++ b/out/src/js/oxpspasswordpolicy.js @@ -121,7 +121,7 @@ function passwordValidate(object, password) { if (digits && !(password.match(/\d+/))) validationError(object, 'digits'); - if (special && !(password.match(/.[!,@#$%^&*?_~()\-]/))) validationError(object, 'special'); + if (special && !(password.match(/[!,@#$%^&*?_~()\-]/))) validationError(object, 'special'); } diff --git a/translations/de/passwordpolicy_lang.php b/translations/de/passwordpolicy_lang.php index 3580890c..e39177a3 100644 --- a/translations/de/passwordpolicy_lang.php +++ b/translations/de/passwordpolicy_lang.php @@ -40,12 +40,12 @@ 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_STRENGTH2' => 'Besser', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_STRENGTH3' => 'Durchschnittlich', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_STRENGTH4' => 'Stark', - 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_STRENGTH5' => 'Sehr Stark', + 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_STRENGTH5' => 'Sehr stark', 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_MINLENGTH' => 'Das Passwort hat nicht genügend Zeichen.', 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_UPPERCASE' => 'Das Passwort enthält keine Großbuchstaben.', 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_LOWERCASE' => 'Das Passwort enthält keine Kleinbuchstaben.', 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_DIGITS' => 'Das Passwort enthält keine Ziffer.', - 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_SPECIAL' => 'Das Passwort muss mindestens eines der folgenden Zeichen enthalten: ! @ # $ % ^ & * ? _ ~ - ( ) ', + 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_SPECIAL' => 'Das Passwort muss mindestens eines der folgenden Zeichen enthalten: ! , @ # $ % ^ & * ? _ ~ - ( ) ', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_TOOLONG' => 'Das Passwort ist zu lang, bitte benutzen Sie ein kürzeres.', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_REQUIRESDIGITS' => 'Das Passwort muss mindestens eine Zahl enthalten.', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_REQUIRESUPPERCASE' => 'Das Passwort muss mindestens einen Großbuchstaben enthalten.', diff --git a/translations/en/passwordpolicy_lang.php b/translations/en/passwordpolicy_lang.php index e5c263d1..e3e337eb 100644 --- a/translations/en/passwordpolicy_lang.php +++ b/translations/en/passwordpolicy_lang.php @@ -45,7 +45,7 @@ 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_UPPERCASE' => 'Please enter at least one capital letter.', 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_LOWERCASE' => 'Please enter at least one lower case letter.', 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_DIGITS' => 'Please enter at least one number.', - 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_SPECIAL' => 'The password must include at least one of the following characters: ! @ # $ % ^ & * ? _ ~ - ( ) ', + 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_SPECIAL' => 'The password must include at least one of the following characters: ! , @ # $ % ^ & * ? _ ~ - ( ) ', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_TOOLONG' => 'The password is too long. Please enter a shorter one.', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_REQUIRESDIGITS' => 'The password must include at least one figure.', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_REQUIRESUPPERCASE' => 'The password must include at least one capital letter.', diff --git a/translations/fr/passwordpolicy_lang.php b/translations/fr/passwordpolicy_lang.php index 5656a173..91ca515d 100644 --- a/translations/fr/passwordpolicy_lang.php +++ b/translations/fr/passwordpolicy_lang.php @@ -45,7 +45,7 @@ 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_UPPERCASE' => 'Le mot de passe ne contient pas de lettres majuscules.', 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_LOWERCASE' => 'Le mot de passe ne contient pas de lettres minuscules.', 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_DIGITS' => 'Le mot de passe ne contient pas de chiffres.', - 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_SPECIAL' => 'Le mot de passe doit contenir au moins un des caractères suivants : ! @ # $ % ^ & * ? _ ~ - ( ) ', + 'OXPS_PASSWORDPOLICY_PASSWORDVALIDATION_SPECIAL' => 'Le mot de passe doit contenir au moins un des caractères suivants : ! , @ # $ % ^ & * ? _ ~ - ( ) ', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_TOOLONG' => 'Le mot de passe est trop long, veuillez en saisir un plus court.', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_REQUIRESDIGITS' => 'Le mot de passe doit contenir au moins un chiffre.', 'OXPS_PASSWORDPOLICY_PASSWORDSTRENGTH_ERROR_REQUIRESUPPERCASE' => 'Le mot de passe doit contenir au moins une lettre majuscule.',