MyMood-Alexa / MyMood-Interface

0 stars 2 forks source link

[DI-2.2] Added backend login and logout functionality #44

Closed jtam360 closed 5 years ago

jtam360 commented 5 years ago

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: a1

Password error: a2

Username and password error: a3

Login and logout process: f2175e4660c45cc67820f7eb438a0fc5

required by #13