Ghost/core/server/web/site
Hannah Wolfe 0e1ae7c2af Separated members token mw from members session mw
- The existing createSessionFromToken was actually doing two things behind the scenes
   1. Handling the ?token from the magic link and creating an actual session (mounted globally, which is not necessary)
   2. Loading an existing session so that a member is logged in to the frontent
- IMO 1. is part of members, and doesn't need to be global
- IMO 2. is part of the frontend. It does need to be global but should NOT be hidden away behind the token middleware, as it wasn't clear what this was doing
2020-04-29 19:19:19 +01:00
..
middleware Renamed redirect functions for clarity 2020-04-22 19:31:36 +01:00
app.js Separated members token mw from members session mw 2020-04-29 19:19:19 +01:00
index.js Moved apps into web folder (#9308) 2017-12-06 17:37:54 +01:00
routes.js Extracted frontend folder (#10780) 2019-06-19 11:30:28 +02:00