added send and verify OTP api
This commit is contained in:
parent
def6524566
commit
beeba834e2
@ -10,7 +10,9 @@ const AuthRepository = {
|
||||
resetPassword: (data) => api.post("/api/auth/reset-password", data),
|
||||
forgotPassword: (data) => api.post("/api/auth/forgot-password", data),
|
||||
sendMail: (data) => api.post("/api/auth/sendmail", data),
|
||||
changepassword: (data) => api.post("/api/auth/change-password", data),
|
||||
changepassword: ( data ) => api.post( "/api/auth/change-password", data ),
|
||||
sendOTP: ( data ) => api.post( 'api/auth/send-otp', data ),
|
||||
verifyOTP:(data)=>api.post("api/auth/login-otp",data)
|
||||
};
|
||||
|
||||
export default AuthRepository;
|
||||
|
Loading…
x
Reference in New Issue
Block a user