Skip to content

Reset password ​

Reset Password page screenshot

Overview ​

Public route for completing a password reset using a token.

  • Route: /reset-password
  • Source: front/src/pages/ResetPassword.tsx
  • API: POST /password-reset/reset-password via authService.resetPassword.

The page reads token from the query string, checks that it is present locally, and submits token plus new password. It does not call the password reset service's separate token-validation endpoint. Before submission, the page requires matching passwords and a password of at least eight characters with uppercase, lowercase, digit, and special character. A successful response triggers navigation to /login after three seconds. Exact token validity and backend response contract are not available from frontend source code.

Source: front/src/pages/ResetPassword.tsx, front/src/services/api/authService.ts, front/src/services/api/passwordResetService.ts.

See Authentication API.