Ghost/ghost/admin/tests
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
..
acceptance 🐛 prevent session sync issues with multiple tabs/refreshes (#772) 2017-07-10 12:18:19 +02:00
helpers 💄🐷 sort-imports eslint rule (#712) 2017-05-29 20:50:03 +02:00
integration Additional check of privacy.useGravatar for gh-profile-image component (#761) 2017-07-06 16:33:15 +07:00
unit welcome tour (#527) 2017-06-08 22:00:10 +07:00
.eslintrc.js new publish menu and date/time picker (#588) 2017-04-11 14:39:45 +01:00
index.html Fetch config from endpoint rather than meta tags (#368) 2016-10-28 14:07:50 +01:00
test-helper.js Update code to match eslint rules 2016-11-14 13:26:00 +00:00