issues
search
gestaogovbr
/
api-pgd
API integradora dos sistemas do Programa de Gestão.
https://www.gov.br/servidor/pt-br/assuntos/programa-de-gestao
GNU Affero General Public License v3.0
11
stars
5
forks
source link
Implement forgot/reset password endpoints
#90
Closed
edulauer
closed
5 months ago
edulauer
commented
6 months ago
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)
Implement reset password function in API:
TODO: