Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Password and confirm password

Tags:

asp.net

I have a password and confirm password field and I dont want the user to simply copy from the first field and paste in the later field.What should I do for this??

like image 643
Srivastava Avatar asked Dec 28 '22 07:12

Srivastava


1 Answers

Copy functionality is usually disabled for password-type fields, so you don't need to do anything. There is nothing to stop a user pasting the same text into both fields from elsewhere, however, and there isn't a lot you can do about it. Trying to prevent this would stop some users who want to be sure they have their password right from pasting it in, as well as users that use password generators.

like image 106
DMI Avatar answered Jan 14 '23 20:01

DMI