Password Reset Does Not Redirect After Successful Update
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:
- Go to the Forgot Password page.
- Enter a registered email address.
- Click on the reset link (or manually open the reset URL).
- Enter a new password.
- Click Update Password.
- 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 !
-- After updating the password ! (the page not redirect)
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.
Source: idurar/idurar-erp-crm