This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
1 year 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 VIP membership
1 year 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

1 year 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
1 year ago
0
Level 3

good info, thnx

Get a Book for SEBLOD