password reset
This commit is contained in:
@@ -168,6 +168,9 @@ export const authAPI = {
|
||||
getStatus: () => api.get("/auth/status"),
|
||||
verifyEmail: (token: string) => api.post("/auth/verify-email", { token }),
|
||||
resendVerification: () => api.post("/auth/resend-verification"),
|
||||
forgotPassword: (email: string) => api.post("/auth/forgot-password", { email }),
|
||||
verifyResetToken: (token: string) => api.post("/auth/verify-reset-token", { token }),
|
||||
resetPassword: (token: string, newPassword: string) => api.post("/auth/reset-password", { token, newPassword }),
|
||||
};
|
||||
|
||||
export const userAPI = {
|
||||
|
||||
Reference in New Issue
Block a user