The reset password link is sent to the old email address, not the updated one.
Expected behavior
The reset password link should be sent to the updated email address associated with the account.
Steps to reproduce the issue
Open any facility. Open the ellipses option of store/warehouse login card.
Click view details option and update the email address in the account settings.
Go back to facilities page and attempt to send the reset password link.
Check the email inboxes.
Current behavior
The reset password link is sent to the old email address, not the updated one.
Expected behavior
The reset password link should be sent to the updated email address associated with the account.
Steps to reproduce the issue
Open any facility. Open the ellipses option of store/warehouse login card. Click view details option and update the email address in the account settings. Go back to facilities page and attempt to send the reset password link. Check the email inboxes.
Environment details
App version : v1.9.2 App environment : UAT