From 34780f3aea78bbf5dd35230ba7ad4a67618b42a0 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 16 May 2016 19:09:37 -0400 Subject: Refresh login page if server version of client doesn't match browser version of client (#3004) --- webapp/components/login/login.jsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'webapp/components/login') diff --git a/webapp/components/login/login.jsx b/webapp/components/login/login.jsx index 8ae3fdd4d..8dbcf33ac 100644 --- a/webapp/components/login/login.jsx +++ b/webapp/components/login/login.jsx @@ -9,6 +9,7 @@ import * as GlobalActions from 'action_creators/global_actions.jsx'; import UserStore from 'stores/user_store.jsx'; import Client from 'utils/web_client.jsx'; +import * as AsyncClient from 'utils/async_client.jsx'; import * as TextFormatting from 'utils/text_formatting.jsx'; import * as Utils from 'utils/utils.jsx'; @@ -44,6 +45,8 @@ export default class Login extends React.Component { if (UserStore.getCurrentUser()) { browserHistory.push('/select_team'); } + + AsyncClient.checkVersion(); } preSubmit(e) { -- cgit v1.2.3-1-g7c22