Systers, an AnitaB.org community

[Mentorship - Backend] Improve the Change Password functionality

Prerequisites:

  1. Setup the mentorship-backend repository locally.

Steps:

  1. Change the password of a user only when the current password and the new password do not match. Make suitable changes in the change_password method in the DAO layer here
  2. Throw an error message saying "The password has not been changed. You can not use same password as current one." when the old password and new match each other. Post [#Screenshot 1].
  3. Post [#Screenshot 2] of SUCCESSFUL password change when old and new passwords are different.
  4. Commit your changes using our Commit message Style Guide.
  5. Submit a Pull Request, against gci-dev branch, using the template against the listed issue.

Work Submission:

Submit the link to the Pull Request and Screenshot #1 and Screenshot #2 by uploading them in a Google Drive folder / Pastebin Images and sharing a link which is publicly accessible.

Resources:

Task tags

  • python
  • flask
  • mentorship-backend

Students who completed this task

_daksha_, asawesome07, haokan

Task type

  • code Code
close

2019