diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-03-30 21:40:59 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-03-30 21:40:59 -0400 |
commit | dd20f2c697abf20d752de0e10ba1e98f8cf2b90f (patch) | |
tree | b2c3944a2a33d20cc566318ab44aa12eecd51d8d /webapp/components/login | |
parent | 8283c18cb0ab3ef7a07f6a6f2d5ae61c109dae96 (diff) | |
parent | bf90d98136965dfd37546e5ecb23d8c6970bed8a (diff) | |
download | chat-dd20f2c697abf20d752de0e10ba1e98f8cf2b90f.tar.gz chat-dd20f2c697abf20d752de0e10ba1e98f8cf2b90f.tar.bz2 chat-dd20f2c697abf20d752de0e10ba1e98f8cf2b90f.zip |
Merge pull request #2578 from mattermost/plt-2463
PLT-2463, PLT-2465 Fixing session and logout errors
Diffstat (limited to 'webapp/components/login')
-rw-r--r-- | webapp/components/login/login.jsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webapp/components/login/login.jsx b/webapp/components/login/login.jsx index 7b370a939..e867af47a 100644 --- a/webapp/components/login/login.jsx +++ b/webapp/components/login/login.jsx @@ -27,7 +27,9 @@ export default class Login extends React.Component { this.preSubmit = this.preSubmit.bind(this); this.submit = this.submit.bind(this); - this.state = this.getStateFromStores(); + const state = this.getStateFromStores(); + state.doneCheckLogin = false; + this.state = state; } componentDidMount() { TeamStore.addChangeListener(this.onTeamChange); @@ -44,8 +46,7 @@ export default class Login extends React.Component { } getStateFromStores() { return { - currentTeam: TeamStore.getByName(this.props.params.team), - doneCheckLogin: false + currentTeam: TeamStore.getByName(this.props.params.team) }; } onTeamChange() { |