From ada513a0146cfb570e3614f9b26c0465de3a1d94 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Wed, 27 Apr 2016 16:03:31 -0400 Subject: Fixing email verification flow (#2806) --- webapp/utils/web_client.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/utils') 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'); } } -- cgit v1.2.3-1-g7c22