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 {
|
} else {
|
||||||
this.mobileOperation.verifyingMode = true
|
this.mobileOperation.verifyingMode = true
|
||||||
this.mobileOperation.verificationCode = null
|
this.mobileOperation.verificationCode = null
|
||||||
this.sendEmailVerificationCode(this.mobileOperation.mobile.number)
|
this.sendMobileVerificationCode(this.mobileOperation.mobile.number)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
stopEdittingMobileVerificationCode() {
|
stopEdittingMobileVerificationCode() {
|
||||||
@ -1059,7 +1059,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
sendMobileVerificationCode(mobile) {
|
sendMobileVerificationCode(mobile) {
|
||||||
UserProfileApi.sendEmailCode(mobile)
|
UserProfileApi.sendMobileCode(mobile)
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
response.data
|
response.data
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user