The ResetPassword component is not showing the right form fields. Those can be different depending on the logged in user wants to reset its own password or from another user.
When a given user wants to reset its own password the following fields should be shown: current password, new password, validate password, and OTP.
If it wants to reset another user password (and has enough permissions to perform the operation) the fields are: new password and verify password.
This was implemented in the past, but the current logged-in user is not being retrieved correctly and needs to be fixed.
The
ResetPassword
component is not showing the right form fields. Those can be different depending on the logged in user wants to reset its own password or from another user.When a given user wants to reset its own password the following fields should be shown: current password, new password, validate password, and OTP.
If it wants to reset another user password (and has enough permissions to perform the operation) the fields are: new password and verify password.
This was implemented in the past, but the current logged-in user is not being retrieved correctly and needs to be fixed.