summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/web_client.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/utils/web_client.jsx b/webapp/utils/web_client.jsx
index 6071b4bb4..a9851442b 100644
--- a/webapp/utils/web_client.jsx
+++ b/webapp/utils/web_client.jsx
@@ -32,7 +32,7 @@ class WebClientClass extends Client {
}
handleError = (err, res) => { // eslint-disable-line no-unused-vars
- if (err.status === HTTP_UNAUTHORIZED) {
+ if (err.status === HTTP_UNAUTHORIZED && res.req.url !== '/api/v3/users/login') {
GlobalActions.emitUserLoggedOutEvent('/login');
}
}