care_fe
care_fe copied to clipboard
Improve the change password handling in profile edit page
Describe the bug
- [ ] The password change input box on the profile update page lacks the same conditional checks found on the user creation page.
- [ ] When the wrong password is entered, there are multiple errors thrown at the same time
- [ ] we can input current password in the new password column and submit the form
To Reproduce Steps to reproduce the behavior:
- click on the profile name in the bottom right
- in the profile page, update the password
- See error
Expected behavior
- [ ] password change input box on the profile update page should have the same condition check as the new user creation page
- [ ] Show the specific notification only " the old password - wrong password entered. Please check your password "
- [ ] add a validation for the new password column checking the current password inputted data and new password column are not having the same text
Screenshots below are the bugs
@nihal467 @rithviknishad can you assign this issue to me?