feat: add forgot password flow and reusable password field

This commit is contained in:
2026-06-17 16:55:10 +05:30
parent 4c2241ff72
commit b325975282
15 changed files with 541 additions and 44 deletions

View File

@@ -4,6 +4,9 @@ export const API_ROUTES = {
REFRESH: 'api/auth/refresh',
LOGOUT: 'api/auth/logout',
ME: 'api/auth/me',
FORGOT_PASSWORD: 'api/auth/forget-password',
RESET_PASSWORD: 'api/auth/reset-password',
SET_PASSWORD: 'api/auth/set-password',
},
PERMISSIONS: {
MY_PERMISSIONS: 'api/permissions/my-permissions',