Hi,
The form in Register Page always return "Invalid Password"
Is this a bug in Form Validation?
Please help me
Thanks
Here is the photo:
https://i.imgur.com/sRbwAWB.png
Hi,
It seems @
is not counted as symbol. We will fix it in the next update.
In the meantime you can fix it in your end by changing the code in and add this symbol:core/html/src/js/components/password-meter.js
var _checkChar = function() {
return /[~`!#@$%\^&*+=\-\[\]\\";,/{}|\\":<>\?]/g.test(the.inputElement.value); // 20 score
}
I don't think so
I have tried with letter and number only
It shows the same error
https://i.imgur.com/wfNmH6V.png
Hi,
Please try other symbols it will work. If you apply the above fix and it will work as expected. You will need to add @
as char into the checkChar
function.
Regards.
I have test and it still shows the same error, please check it
I don't even use @ in password
And another bugs is when password is empty, i still can submit the form
You should use symbols, upper case, lower case, and number to have a strong password and pass the validation. Please refer to the text hint below the input.
let password field empty and press submit
you can see (please wait) button
https://i.imgur.com/PpRY592.png
how can I decrease the score? I want to allow register if the score >= 40%
[solved]
I have edit this function, it works fine
r = function () {
return 40 < s.getScore();
};