diff options
Diffstat (limited to 'webapp/client/web_client.jsx')
-rw-r--r-- | webapp/client/web_client.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/client/web_client.jsx b/webapp/client/web_client.jsx index 324d4cd25..53e199e66 100644 --- a/webapp/client/web_client.jsx +++ b/webapp/client/web_client.jsx @@ -38,7 +38,7 @@ class WebClientClass extends Client { } handleError(err, res) { - if (res.body.id === 'api.context.mfa_required.app_error') { + if (res && res.body && res.body.id === 'api.context.mfa_required.app_error') { window.location.reload(); return; } |