Skip to content

Commit ebe6072

Browse files
committed
Make this a done so it doesn't swallow exceptions
1 parent 155dd74 commit ebe6072

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/controllers/templates/Login.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module.exports = {
7272
MatrixClientPeg.get().login('m.login.password', {
7373
'user': that.refs.user.getDOMNode().value,
7474
'password': that.refs.pass.getDOMNode().value
75-
}).then(function(data) {
75+
}).done(function(data) {
7676
// XXX: we assume this means we're logged in, but there could be a next stage
7777
MatrixClientPeg.replace(Matrix.createClient({
7878
baseUrl: that.state.hs_url,

0 commit comments

Comments
 (0)