diff --git a/src/common/stores/authenticaton.js b/src/common/stores/authenticaton.js index 8264fe0..25a8b75 100644 --- a/src/common/stores/authenticaton.js +++ b/src/common/stores/authenticaton.js @@ -128,7 +128,7 @@ export class Authentication { @action resendEmail(data) { this.isRegistering = true; - return this.http.post("/resend_email_verification", data) + return this.http.post("authentication/resend_email_verification", data) .then(res => { return res; }) @@ -139,8 +139,7 @@ export class Authentication { @action validateOtp(data) { - this.isRegistering = true; - return this.http.post("/validate_otp", data) + return this.http.post("authentication/validate_otp", data) .then(res => { return res; })