mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
make the code prettier
This commit is contained in:
parent
3e232412e3
commit
b9261588f9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user