update : auth store
This commit is contained in:
parent
a1142a6b04
commit
d18022b6b4
|
@ -128,7 +128,7 @@ export class Authentication {
|
||||||
@action
|
@action
|
||||||
resendEmail(data) {
|
resendEmail(data) {
|
||||||
this.isRegistering = true;
|
this.isRegistering = true;
|
||||||
return this.http.post("/resend_email_verification", data)
|
return this.http.post("authentication/resend_email_verification", data)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
return res;
|
return res;
|
||||||
})
|
})
|
||||||
|
@ -139,8 +139,7 @@ export class Authentication {
|
||||||
|
|
||||||
@action
|
@action
|
||||||
validateOtp(data) {
|
validateOtp(data) {
|
||||||
this.isRegistering = true;
|
return this.http.post("authentication/validate_otp", data)
|
||||||
return this.http.post("/validate_otp", data)
|
|
||||||
.then(res => {
|
.then(res => {
|
||||||
return res;
|
return res;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user