User Story
When the user clicks change password on the user info page they should be prompted to enter a new password. The user must input their existing password and a new passowrd. The new password should be hidden as entered and if the user enters a new password, their password will be updated. If the user enters the same password they will receive an error message.
Acceptance Criteria
Change password opens the change password form.
The old password is hidden as its entered
The new password is hidden as its entered.
If the same password is entered again, an error message is displayed.
If the old password is entered incorrectly, an error message is displayed.
If a new password is entered a message is displayed that the password has been updated.
Technical Details
Password change form appears as modal on accountInfo component.
Put request to firebase with user object on successful password change.
User Story When the user clicks change password on the user info page they should be prompted to enter a new password. The user must input their existing password and a new passowrd. The new password should be hidden as entered and if the user enters a new password, their password will be updated. If the user enters the same password they will receive an error message.
Acceptance Criteria Change password opens the change password form. The old password is hidden as its entered The new password is hidden as its entered. If the same password is entered again, an error message is displayed. If the old password is entered incorrectly, an error message is displayed. If a new password is entered a message is displayed that the password has been updated.
Technical Details Password change form appears as modal on accountInfo component. Put request to firebase with user object on successful password change.