You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there are a handful of AJAX requests pending and one of them comes back with a 401 Unauthenticated response, there's little sense in continuing. This is probably most likely to happen when refreshing the page after the session expires.
Need to figure out how axios deals with cancelling a request so that we can hook into certain fail cases and abort any requests that're still outstanding. If a request comes back unauthorised, we should probably just redirect to the login page which would at least prevent any further calls to get system stats.
The text was updated successfully, but these errors were encountered:
If there are a handful of AJAX requests pending and one of them comes back with a
401 Unauthenticated
response, there's little sense in continuing. This is probably most likely to happen when refreshing the page after the session expires.Need to figure out how axios deals with cancelling a request so that we can hook into certain fail cases and abort any requests that're still outstanding. If a request comes back unauthorised, we should probably just redirect to the login page which would at least prevent any further calls to get system stats.
The text was updated successfully, but these errors were encountered: