summaryrefslogtreecommitdiffstats
path: root/webapp/components/login/login.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/login/login.jsx')
-rw-r--r--webapp/components/login/login.jsx7
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() {