Skip to content

Password Reset Does Not Redirect After Successful Update #1425

Description

@Saumay-Gupta

Describe the bug
After successfully resetting the password, the application does not redirect the user to the expected page. The URL remains unchanged even though the backend confirms that the password was updated successfully.

The issue was caused by an incorrect reducer case reference , preventing the state from updating.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Forgot Password page.
  2. Enter a registered email address.
  3. Click on the reset link (or manually open the reset URL).
  4. Enter a new password.
  5. Click Update Password.
  6. Observe that the password updates successfully, but the page does not redirect.

Expected behavior
After successfully updating the password:

  • The user should be redirected (e.g., to / or /password-reset-success)

Screenshots
-- Before updating the password !
Image

-- After updating the password ! (the page not redirect)
Image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: Latest

Smartphone (please complete the following information):

  • Not tested on mobile devices.

Additional context
This issue did not produce console errors, making it a silent state
management bug. Debugging required inspecting Redux state updates
and verifying action type matching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions