Ghost/ghost/admin/app/services
Kevin Ansfield ae759d39ea Fixed multiple 401s caused by token revocation requests
no issue
- disabled Ember Simple Auth's default token revocation
    - we trigger session invalidation on a 401 which means our token isn't valid so the revoke requests will also fail
- renamed application route's `invalidateSession` to `logout` in order to distinguish it from any ESA methods
    - added the token revocation requests to this action, we can be fairly sure at this point that the current tokens will be valid so the requests will succeed
- added check to `ajax.handleResponse` so that we don't invalidate the session for requests to external services
- removed pointless assertion from the ajax integration test
2018-04-16 17:55:21 +01:00
..
ajax.js Fixed multiple 401s caused by token revocation requests 2018-04-16 17:55:21 +01:00
clock.js ESLint fixes for latest eslint-plugin-ember 2018-03-19 13:05:02 +00:00
config.js
dropdown.js
event-bus.js
feature.js
ghost-paths.js
lazy-loader.js
media-queries.js
notifications.js
session.js
settings.js 🐛 Fixed "Are you sure" modal being shown incorrectly after toggling private mode (#964) 2018-03-09 14:42:27 +00:00
slug-generator.js
tour.js ESLint fixes for latest eslint-plugin-ember 2018-03-19 13:05:02 +00:00
ui.js
unsplash.js
upgrade-status.js