Skip to content

Password reset allows reusing the current (or any previous) password #920

Description

@iamtanuj18

The /users/password/reset endpoint in application/backend/src/controllers/UsersController.ts doesn't check whether the new password matches the user's current one (or any previous). No password history tracking exists in the schema.

Modern NIST guidance actually leans AWAY from forced password history checks, since users end up iterating predictably
(Password1 -> Password2 -> Password3 etc.) which weakens rather than strengthens security.

Filing as a question - worth a quick team decision on whether we want history enforcement in the health context, or whether following the modern NIST guidance and leaving it as-is is fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendbackend taskquestionFurther information is requested

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions