Skip to content

M5-06 — Password policy and change-password endpoint #131

Description

@bihius

Context

The seed script requires 12 characters but there is no change-password flow and no policy beyond length.

To do

  • Add POST /auth/change-password requiring current password
  • Validate new password against: min length 12, not identical to current, not in a short common-password blocklist
  • Log the event in the audit log
  • Integration tests

Definition of done

  • Endpoint works for authenticated users
  • Weak passwords are rejected with a helpful message

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/backendFastAPI, SQLAlchemy, services, APIp2-post-mvpNice to have, deferred

    Projects

    Status
    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions