Ghost/ghost/admin/app/routes
Kevin Ansfield 0853b57244 🐛 prevent session sync issues with multiple tabs/refreshes (#772)
refs https://github.com/TryGhost/Ghost/issues/8616

- only refresh tokens on boot if we last refreshed more than 24hrs ago - this should prevent rapidly changing access/refresh tokens when opening new admin tabs or refreshing whilst other tabs are open
- fix token refresh test which was testing it's own behaviour instead of the applications 🙈

This may not be the full solution to the session issues but it closes one potential culprit and should at least reduce token churn which can only help track down the real cause.
2017-07-10 12:18:19 +02:00
..
editor Revert "always give editor content focus by default (#748)" (#755) 2017-06-21 18:28:29 +07:00
settings 🚀 supercharge tags performance 2017-07-07 17:53:08 +01:00
setup 💄 refactor setup screens to use ember-concurrency (#644) 2017-04-19 12:27:32 +02:00
subscribers convert ember imports to ember-cli-shim imports where possible (#95) 2016-06-30 11:21:47 +01:00
team 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
about.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
application.js 🐛 prevent session sync issues with multiple tabs/refreshes (#772) 2017-07-10 12:18:19 +02:00
authenticated.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
error404.js Use es6 across client and add ember-suave to enforce rules 2015-11-30 10:41:01 +00:00
posts.js 🔥 remove content screen keyboard shortcuts 2017-07-07 10:37:24 +01:00
reset.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
setup.js deps: ember-simple-auth@1.2.0 2017-02-06 16:39:42 +00:00
signin.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
signout.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
signup.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
subscribers.js 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00