foundersandcoders / open-tourism-platform

An open platform to facilitate the creation of apps to promote local tourism and business in Nazareth
MIT License
17 stars 3 forks source link

Sessions #100

Closed m4v15 closed 7 years ago

m4v15 commented 7 years ago

We need sessions for the users to be logged in directly to the OTP. Granualar steps are below.

Most of these have already been addressed in PR #95, we just need to change the JWT from a header to cookie on this line and then use express-jwt to get it from the cookie in this file (I think it defaults to looking in the authorisation header), and then we need to add tests.