Skip to content

Replace plaintext password welcome emails with activation links #1718

Description

@StuartFerguson

Goal

Ensure user passwords are never sent by email.

Context

UserRequestHandler currently builds welcome email content containing the generated or supplied password.

Acceptance criteria

  • Welcome emails contain a short-lived, single-use account activation link instead of a password.
  • The user must set a password through the activation flow.
  • Password values do not appear in email payloads, logs, or API responses.
  • Tests cover activation expiry, reuse, and invalid tokens.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    securityCodacy security finding

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions