“Show password as text” control

后端 未结 7 1118
花落未央
花落未央 2021-01-05 03:21

I have a usual login form consisting of two input fields, one for login, one for password. I am currently trying to add a control that will show entered password as plain te

7条回答
  •  遥遥无期
    2021-01-05 03:52

    If I may, I don't think it's a great idea to show the password in text, for the following reasons:

    1. It's not commonly done, so it will be confusing to the user
    2. It means you are open to over-the-shoulder viewing of the password

    I also think, if you just want to help users avoid typos, give them more chances before the password is disabled. I think the typical "3" that most sites implement is not really required, I'd suggest "10" attempts, or perhaps "5", if you wish to be really conservative, is quite acceptable. Just count it down for them, and let them resolve typos on their own.

    Just my humble opinion.

提交回复
热议问题