use mobile instead of email methed for mobile verification
This commit is contained in:
parent
93d3e78515
commit
b1272e06d1
@ -1041,7 +1041,7 @@ export default {
|
||||
} else {
|
||||
this.mobileOperation.verifyingMode = true
|
||||
this.mobileOperation.verificationCode = null
|
||||
this.sendEmailVerificationCode(this.mobileOperation.mobile.number)
|
||||
this.sendMobileVerificationCode(this.mobileOperation.mobile.number)
|
||||
}
|
||||
},
|
||||
stopEdittingMobileVerificationCode() {
|
||||
@ -1059,7 +1059,7 @@ export default {
|
||||
},
|
||||
|
||||
sendMobileVerificationCode(mobile) {
|
||||
UserProfileApi.sendEmailCode(mobile)
|
||||
UserProfileApi.sendMobileCode(mobile)
|
||||
.then((response) => {
|
||||
response.data
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user