Username:
Password:
/users/home is html file displayed on submit button
when I enter username and password as “anuj” and “rohan”
they are displayed on the next page in the address bar as http://localhost:3000/users/home?username=anuj&pwd=rohan
I don’t want to display these things as these are protected. Is there any way to encrypt or hide passwords in html.
When you use the
formtag, make sure it’smethodattribute is set toPOSTlike so: