1
2 years agoopen0

We want to provide an service for our end users, so that they can reset they own password.

So we want to utilize the Password type, but cant seem to find much documentation about it.

So far we have created this Validation regular expression – “(?=(.*[0-9]))(?=.*[\!@#$%^&*()\\[\]{}\-_+=~`|:;”‘,./?])(?=.*[a-z])(?=(.*[A-Z]))(?=(.*)).{8,}” , meaning that all users must enter 1 Capital letter, 1 small letter, 1 number and 1 special character.

This works so far, and au2mator reports an error if the password does not match the regular expression.

But we would like the error message, to be more “user friendly” – fx inform the user, that the password is missing 1 capital letter or such.

Also if the Password box could be fx red, untill the password requirement have been fullfilled, and then turn green.