MyMood-Alexa / MyMood-Interface

0 stars 2 forks source link

Added clientside login authentication. Added basic logout functionality. #29

Closed jtam360 closed 6 years ago

jtam360 commented 6 years ago

Added clientside login authentication with cookies with a TTL of 1 hour. After user logs in, if they go back to login the cookie is deleted so they have to log in again.

Replaced header.html with two headers. adminHeader.html represents the header displayed to users after they managed to log in. userHeader.html represents the header displayed to users when they haven't logged in yet.