summaryrefslogtreecommitdiffstats
path: root/webapp/utils/web_client.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-04-27 16:03:31 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2016-04-27 16:03:31 -0400
commitada513a0146cfb570e3614f9b26c0465de3a1d94 (patch)
tree31eda01563a199296302a70fa84edff59815e50b /webapp/utils/web_client.jsx
parentfa807d8e436e87b8c1749ea54c293a15c67f7f29 (diff)
downloadchat-ada513a0146cfb570e3614f9b26c0465de3a1d94.tar.gz
chat-ada513a0146cfb570e3614f9b26c0465de3a1d94.tar.bz2
chat-ada513a0146cfb570e3614f9b26c0465de3a1d94.zip
Fixing email verification flow (#2806)
Diffstat (limited to 'webapp/utils/web_client.jsx')
-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');
}
}