This fix corrects the the previous implementation where users are not appropriately sent a link/valid link when they request for a password change.
Description
This fix corrects the the previous implementation where users are not appropriately sent a link/valid link when they request for a password change. With the changes done, users can now receive mails regarding heir change of password.
Related Issue (Link to issue ticket)
Motivation and Context
Users/Clients should be able to changes/reset their password when they have forgotten it or can no longer sign for some security reason.
How Has This Been Tested?
This has been tested with pytest and postman.
Screenshots (if appropriate - Postman, etc):
Reset token sent to user successfully
reset token received in user email
user successfully changes password
user tries to reuse token
passwords validations
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
This fix corrects the the previous implementation where users are not appropriately sent a link/valid link when they request for a password change.
Description
This fix corrects the the previous implementation where users are not appropriately sent a link/valid link when they request for a password change. With the changes done, users can now receive mails regarding heir change of password.
Related Issue (Link to issue ticket)
Motivation and Context
Users/Clients should be able to changes/reset their password when they have forgotten it or can no longer sign for some security reason.
How Has This Been Tested?
This has been tested with pytest and postman.
Screenshots (if appropriate - Postman, etc):
Reset token sent to user successfully
reset token received in user email
user successfully changes password
user tries to reuse token
passwords validations
Types of changes
Checklist: