diff --git a/app/assets/javascripts/discourse/controllers/password-reset.js.es6 b/app/assets/javascripts/discourse/controllers/password-reset.js.es6 index 2caf6e6b708..7e2ed248b52 100644 --- a/app/assets/javascripts/discourse/controllers/password-reset.js.es6 +++ b/app/assets/javascripts/discourse/controllers/password-reset.js.es6 @@ -41,7 +41,8 @@ export default Ember.Controller.extend(PasswordValidation, { second_factor_token: this.get("secondFactor"), second_factor_method: this.get("secondFactorMethod") } - }).then(result => { + }) + .then(result => { if (result.success) { this.set("successMessage", result.message); this.set("redirectTo", result.redirect_to);