Platform & Access · Password reset request

Public form where a staff member asks for a password-reset email by entering their address.

AreaPlatform & Access
Routesuser.reset-password
Centre modulesalways available
Staff levelsunauthenticated
Modelsstaff-member
UI labelchange-password.titles
Coverage2 use cases · 1 happy · 2 failure

How it works

Deliberately unauthenticated and paired with update_password/:token. The route itself is a thin shell (9 lines); the work is in the reset-password component.

Use cases

Why someone opens this (2)

  • Staff member forgot their password and needs a reset link.
  • An admin tells a user to self-service a reset instead of re-issuing credentials.

Path map

flowchart LR
    F(["Password reset request"]):::feat
    F --> H1["Reset email requested"]:::ok
    F -.-> X1["Unknown email"]:::bad
    F -.-> X2["Mail delivery fails"]:::bad
    classDef feat fill:#4a5c8a,stroke:#4a5c8a,color:#ffffff,font-weight:bold
    classDef ok fill:#e3f1ea,stroke:#0d6b42,color:#0d4a2e
    classDef bad fill:#f7e6e2,stroke:#9a2d1c,color:#6e1f13

Happy paths

Reset email requested

  1. User opens /user/reset-password and submits their email.
  2. API queues a reset email containing a tokenised link.
  3. A confirmation message is shown; the user leaves the app and opens the email.

Failure paths

QA checklist

Tick these off while regression-testing this feature. The boxes are plain Markdown, so progress is visible in git diffs.

  • ✅ Reset email requested
  • ⛔ Unknown email
  • ⛔ Mail delivery fails

Implementation


Generated from doc/feature-inventory.json · id platform-reset-password · commit 276788ca6