email verification flow updated
This commit is contained in:
@@ -162,7 +162,7 @@ export const authAPI = {
|
||||
refresh: () => api.post("/auth/refresh"),
|
||||
getCSRFToken: () => api.get("/auth/csrf-token"),
|
||||
getStatus: () => api.get("/auth/status"),
|
||||
verifyEmail: (token: string) => api.post("/auth/verify-email", { token }),
|
||||
verifyEmail: (code: string) => api.post("/auth/verify-email", { code }),
|
||||
resendVerification: () => api.post("/auth/resend-verification"),
|
||||
forgotPassword: (email: string) =>
|
||||
api.post("/auth/forgot-password", { email }),
|
||||
|
||||
Reference in New Issue
Block a user