This PR adds a new endpoint for password reset functionality to the FastAPI application. It includes the necessary backend and frontend changes to handle password reset requests and password updates using a unique token.
Summary of Changes
Created a new file demo/web/api/endpoints/reset_password.py to define the password reset endpoint.
Modified demo/web/api/router.py to include the new password reset router.
Created a new file demo/tests/test_reset_password.py to add tests for the password reset functionality.
Modified demo_app/frontend/src/views/ResetPassword.vue and demo_app/frontend/src/views/PasswordRecovery.vue to interact with the new password reset endpoint.
Modified demo_app/frontend/src/api.ts to include functions for making API requests to the password reset endpoint.
Please review and merge this PR to enable password reset functionality in the application.
Fixes #4.
๐ Latest improvements to Sweep:
Sweep can now passively improve your repository! Check out Rules to learn more.
๐ก To get Sweep to edit this pull request, you can:
Comment below, and Sweep can edit the entire PR
Comment on a file, Sweep will only modify the commented file
Edit the original issue to get Sweep to recreate the PR from scratch
PR Feedback (click)
Description
This PR adds a new endpoint for password reset functionality to the FastAPI application. It includes the necessary backend and frontend changes to handle password reset requests and password updates using a unique token.
Summary of Changes
demo/web/api/endpoints/reset_password.py
to define the password reset endpoint.demo/web/api/router.py
to include the new password reset router.demo/tests/test_reset_password.py
to add tests for the password reset functionality.demo_app/frontend/src/views/ResetPassword.vue
anddemo_app/frontend/src/views/PasswordRecovery.vue
to interact with the new password reset endpoint.demo_app/frontend/src/api.ts
to include functions for making API requests to the password reset endpoint.Please review and merge this PR to enable password reset functionality in the application.
Fixes #4.
๐ Latest improvements to Sweep:
๐ก To get Sweep to edit this pull request, you can: