diff --git a/src/controllers/templates/Login.js b/src/controllers/templates/Login.js index d7d60a120..07ace740d 100644 --- a/src/controllers/templates/Login.js +++ b/src/controllers/templates/Login.js @@ -52,7 +52,7 @@ module.exports = { var cli = MatrixClientPeg.get(); this.setState({busy: true}); var that = this; - cli.loginFlows().then(function(result) { + cli.loginFlows().done(function(result) { that.setState({ flows: result.flows, currentStep: 1,