mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 17:58:43 +08:00
DEV: lint 💅
This commit is contained in:
parent
66f2db4ea4
commit
c4817e9ee9
app/assets/javascripts/discourse/controllers
@ -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()
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user