added reset PWD API
This commit is contained in:
@@ -50,7 +50,7 @@ export const loginUser = (reqData) => {
|
||||
return postAuxEnd('/panel/auth/login', postData, false)
|
||||
}
|
||||
|
||||
// FUNCTION TO LOGIN USER IN
|
||||
// FUNCTION TO REGISTER USER
|
||||
export const signUpUser = (reqData) => {
|
||||
let postData = {
|
||||
...reqData
|
||||
@@ -59,6 +59,14 @@ export const signUpUser = (reqData) => {
|
||||
}
|
||||
|
||||
|
||||
// FUNCTION TO RESET USER PASSWORD
|
||||
export const recoverPWD = (reqData) => {
|
||||
let postData = {
|
||||
...reqData
|
||||
}
|
||||
return postAuxEnd('/panel/auth/reset', postData, false)
|
||||
}
|
||||
|
||||
// FUNCTION TO GET DASHBOARD DATA
|
||||
export const accountDashboard = () => {
|
||||
return getAuxEnd(`/panel/account/dash`)
|
||||
|
||||
Reference in New Issue
Block a user