Ghost/core/server
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
..
adapters Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
api Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
config Updated new local config to not affect tests 2020-04-29 18:54:03 +01:00
data Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
lib Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
models Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
public Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
services Separated members token mw from members session mw 2020-04-29 19:19:19 +01:00
translations Remove External Apps 2020-03-20 10:40:22 +00:00
views Update default 404 page 2019-07-15 14:47:01 +02:00
web Separated members token mw from members session mw 2020-04-29 19:19:19 +01:00
analytics-events.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
ghost-server.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
index.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00