DEV: lint 💅

This commit is contained in:
Régis Hanol 2020-01-15 11:36:33 +01:00
parent 66f2db4ea4
commit c4817e9ee9
2 changed files with 4 additions and 2 deletions

View File

@ -120,7 +120,8 @@ export default Controller.extend(ModalFunctionality, {
data: {
login: this.loginName,
password: this.loginPassword,
second_factor_token: this.securityKeyCredential || this.secondFactorToken,
second_factor_token:
this.securityKeyCredential || this.secondFactorToken,
second_factor_method: this.secondFactorMethod,
timezone: moment.tz.guess()
}

View File

@ -52,7 +52,8 @@ export default Controller.extend(PasswordValidation, {
type: "PUT",
data: {
password: this.accountPassword,
second_factor_token: this.securityKeyCredential || this.secondFactorToken,
second_factor_token:
this.securityKeyCredential || this.secondFactorToken,
second_factor_method: this.secondFactorMethod
}
})