mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 05:14:12 +03:00
a224154420
refs TryGhost/Ghost#5202 We can get into a situation where the app is left open without a network connection and the token subsequently expires, this will result in the next network request returning a 401 and killing the session. This is an attempt to detect that and restore the session using the stored refresh token before continuing with the request - wrap ajax requests in a session restore request if we detect an expired `access_token` |
||
---|---|---|
.. | ||
acceptance | ||
helpers | ||
integration | ||
unit | ||
.jscsrc | ||
.jshintrc | ||
index.html | ||
test-helper.js |