when the user logs in, the user uses jquery"s $.ajax () request to send the username and password to the backend. There are two questions:
1. After sending the request, I open the console, and you can see the username and password transmitted in the network. Is there any way not to show the username and password in network?
2. The user login password stored in the database must be encrypted. Should the
front end encrypt the password and pass it to the backend when sending the password using the ajax request? Or should the front end
send the real password to the back end and then encrypt it?