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

Implement forgot/reset password endpoints #90

Merged
merged 24 commits into from
Jan 23, 2024
Merged

Conversation

edulauer
Copy link
Member

Implement reset password function in API:

  • Introduce a new smtp4dev container for development deployment in docker-compose
  • Include fastapi-mail 1.4.1 in requirements.txt
  • Establish the email_config.py file containing SMTP environment variables and email templates.
  • Develop methods for forgot password (sending a email to the user with a token) and reset password (resetting the password using the token)
  • Create tests for forgot_password

TODO:

  • Create tests for reset_password (needs to catch the token in the email body)

@augusto-herrmann augusto-herrmann merged commit f52693a into main Jan 23, 2024
1 check passed
@augusto-herrmann augusto-herrmann deleted the add_forgot_password branch January 23, 2024 15:01
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.

Possibilitar ao usuário solicitar a recuperação de sua senha por e-mail
2 participants