Removed login/logout function from frontend login.html and added it to backend in app.js.
Removed body-parser package due to security concerns as it is a wrapper for express.json(), express.urlencoded(), and express.mutlipart(). Users expressed concerns that express.multipart() creates temporary files that are not garbage collected so they advise to only use the middlewares we need. https://stackoverflow.com/questions/5710358/how-to-retrieve-post-query-parameters
Removed login/logout function from frontend login.html and added it to backend in app.js. Removed body-parser package due to security concerns as it is a wrapper for express.json(), express.urlencoded(), and express.mutlipart(). Users expressed concerns that express.multipart() creates temporary files that are not garbage collected so they advise to only use the middlewares we need. https://stackoverflow.com/questions/5710358/how-to-retrieve-post-query-parameters
Username error:
Password error:
Username and password error:
Login and logout process:
required by #13