Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added current password checker on the password reset page. #66

Merged
merged 2 commits into from
Mar 13, 2018

Conversation

umih874
Copy link
Contributor

@umih874 umih874 commented Mar 8, 2018

NOTE

Some further issues were discovered while working on the #120 issue. Namely, the error messages displayed for the current password input box where associated and caused by invalid input for the new password field. This bug was resolved and detailed changes can be seen in #128

Changes covered in this Pull Request

Current password checker has been added when the user tries to change their password. The user must now enter the current password to be able to change their password. The functionality and UI change is ready for review.

UI Changes

A new input box has been added to the form to change the user's password. This box is for entering the user's current password that will be checked before it can be reset.

Functional Changes

A changePassword method has been added to the password component and runs when the user tries to update their password. This method uses the login services login method to verify that the user has input the correct current password. The updated password will only be stored if the current password has been verified. Otherwise, an error message will appear.

Testing

  • This change can be tested by navigating to the password change form.
  • The password should be updated if the correct current password is entered and an error message should appear if the incorrect password has been entered.
  • The user-name and remember me options should also be checked to ensure that these changes have not affected these.
  • Make sure that the error message is only associated with the related input box.

UI Changes

Indicated in red rectangle
password

@softeng-701 softeng-701 merged commit c699c78 into kblincoe:master Mar 13, 2018
umih874 added a commit to umih874/QualOpt_SE701 that referenced this pull request Mar 22, 2018
umih874 added a commit to umih874/QualOpt_SE701 that referenced this pull request Mar 22, 2018
Current password input box was set bunded to new password input box. So same error will display for both when new password box is invalid. Fixed it so that current password input box has its own error association.
umih874 pushed a commit to umih874/QualOpt_SE701 that referenced this pull request Mar 28, 2018
Fixed the input box bounding error from Issue#27 (PR kblincoe#66)

Current password input box was set bunded to new password input box. So same error will display for both when new password box is invalid. Fixed it so that current password input box has its own error association.
umih874 pushed a commit to umih874/QualOpt_SE701 that referenced this pull request Mar 28, 2018
Fixed the input box bounding error from Issue#27 (PR kblincoe#66)

Current password input box was set bunded to new password input box. So same error will display for both when new password box is invalid. Fixed it so that current password input box has its own error association.

Added clear field functionality to password page

Once the user applies changes the password input box will get cleared from the previously entered values.

Redesigned main page. Added Login/Signup button and images.

Added class to email body.

Class preserves white space and new lines.

add batch files to launch/test QualOpt

added shell scripts for mac users

updating formating of mac shell scripts

Fix Twitter sign-in

Issue kblincoe#8

Added a SendInvitation option to the main study page

Connected GitHub API to search and instantiate new Participants

Add warning that there are unsaved changes in the edit study form

delete unnecessary whitespace (line 85)

chore: add +x permission to mvnw kblincoe#57

Fixing typos

Fixed all typing and punctuation errors in the abbout page kblincoe#29

Cleaning up about page

Removed go to studies button and login status on the about page to make it look cleaner

Added shadow to welcome text. Fixed Typo
umih874 pushed a commit to umih874/QualOpt_SE701 that referenced this pull request Mar 28, 2018
(this is a squashed version)

Delete Entities tab

Fixed the input box bounding error from Issue#27 (PR kblincoe#66)

Current password input box was set bunded to new password input box. So same error will display for both when new password box is invalid. Fixed it so that current password input box has its own error association.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants