5 years ago
3
Topic

Hi

Since with seblod user forms the joomla native user password settings are not taken into account, how can we check the password complexity (number of digits, number of lower and upper cases, letters and numbers etc....) ?

Thanks

Cyril

Get a Book for SEBLOD
5 years ago
2
Level 1

I must add that the REGEX validation doesn't seem to solve this question or at least I don't know how to use it.

I discovered that we had to use " " to embed the regex

I whish I could use the validation rules found on https://stackoverflow.com/questions/3466850/regular-expression-to-enforce-complex-passwords-matching-3-out-of-4-rules#

but  when I use "(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[\W]).{8,}" the non word character checking doesn't seem to work

any idea please ?

thanks

cyril

5 years ago
1
Level 2

ok, found it: we had to sur \\W instead of just \W to give the final expression :

"(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[\\W]).{8,}"

thanks

cyril

4229 Posts
Kadministrator
5 years ago
0
Level 3

good info, thnx

Get a Book for SEBLOD