Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor fixes #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion out/src/js/oxpspasswordpolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

}

Expand Down
4 changes: 2 additions & 2 deletions translations/de/passwordpolicy_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down
2 changes: 1 addition & 1 deletion translations/en/passwordpolicy_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down
2 changes: 1 addition & 1 deletion translations/fr/passwordpolicy_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down