Skip to content

Split completePasswordReset method into verification and password setting steps #4067

Closed

Description

@coderabbitai

Description

While working on PR #4058, it was identified that the completePasswordReset method should be split into two separate methods:

  1. One method for verifying the reset password code
  2. Another method for setting the new password

Rationale

This approach is standard practice and will improve both usability and security by ensuring that users have completed verification before being allowed to set a new password.

References

Requested by: @marcelomendoncasoares

Activity

  1. removed their assignment
    on Oct 16, 2025
  2. added
    area: authentication
    on Oct 16, 2025
  3. moved this from Inbox 📫 to Next Up 🎯 in Serverpod Frameworkson Oct 16, 2025
  4. SandPod commented on Oct 27, 2025

    @SandPod
    Contributor

    This is also required in order to support MFA for email authentication, where the other parts of MFA happen after the email code has been validated.

  5. self-assigned this
    on Nov 3, 2025
  6. moved this from Next Up 🎯 to In Progress 🔥 in Serverpod Frameworkson Nov 3, 2025
  7. moved this from In Progress 🔥 to Done 🚀 in Serverpod Frameworkson Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: authentication

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions