Github Issue Number: #206
Security Issue: Link stayed active to change password even after use
Solution of problem
Encrypted generated token to reset the password, with the user's existing password. This way after successfully changing the password once, the token gets invalid
Type of Change
[x] Bug fix
[ ] New Feature
[ ] Development of UI/UX prototypes
[ ] Small refactor
[ ] Change in Documentation
Checklist
[x] My code follows the same style as the codebase
[ ] My Code change requires a change in documentation
[ ] I have updated the Readme accordingly
[x] I made PR against development branch
[x] I have run the test cases locally and it's passing.
[x] I have squashed my commits
Problem
Github Issue Number: #206 Security Issue: Link stayed active to change password even after use
Solution of problem
Encrypted generated token to reset the password, with the user's existing password. This way after successfully changing the password once, the token gets invalid
Type of Change
Checklist
[x] My code follows the same style as the codebase [ ] My Code change requires a change in documentation [ ] I have updated the Readme accordingly [x] I made PR against development branch [x] I have run the test cases locally and it's passing. [x] I have squashed my commits