4 ms·
Why not just have one symbol (flag?) that is displayed when the passwords match? What is the added value of displaying three colours?
by kyberias 15y ago
Why not just have one symbol (flag?) that is displayed when the passwords match? What is the added value of displaying three colours?
- eieio 15y agoIf I understand correctly, you're talking about confirming whether a password / confirm password box match. The purpose of the three colors is that they are displayed next to the password box every time the user types their password in, providing a visual clue as to whether they've entered their password correctly.
- klez 15y agoI hope your password is not encoded in the javascript. And if the script tries it via asynchronous requests every time you type a character until you give the right password, think about the network overhead involved. And if you use this solution, how do you distinguish between a sloppy user (that recognizes (s)he hit a wrong key and immediately corrects it) and a bot trying to guess a password?