0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00
ghost/core
Kevin Ansfield 01cdff5c92 Fix initial loading of a route with an invalid session
no issue
- if the session is "authenticated" but is invalid, the initial load of the app would fail. It could be replicated by:
	1. Authenticating in a running ghost instance
	2. Stopping ghost
	3. Deleting the database
	4. Re-starting ghost
	5. Closing the browser
	6. Re-opening the browser and visiting http://localhost:2368/ghost
- this fix stores the `transition` object for the duration of the initial load so that `sessionInvalidated` method can trigger actions before the transition has finished
2016-05-13 13:47:39 +02:00
..
client Fix initial loading of a route with an invalid session 2016-05-13 13:47:39 +02:00
server Subscribers: Error message improvements 2016-05-12 17:37:45 +02:00
shared move private-blogging functionality into an internal app 2016-04-11 08:58:41 -05:00
test Merge pull request #6814 from ErisDS/subscribe-context 2016-05-12 16:46:49 +02:00
index.js