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

Reset password #12

Open
hugoponthieu opened this issue May 12, 2024 · 0 comments
Open

Reset password #12

hugoponthieu opened this issue May 12, 2024 · 0 comments

Comments

@hugoponthieu
Copy link
Member

Review route and logic ; implement logic to reset the password in db
Pages are done ; mail is done (with token), but there is a bug in resetting the password in the database.

Also, only the "working" user story is functional. If the email is incorrect, or any other issue, there is no implementation.

See feat/reset-password branch in Voice back (AdonisJS) (and front).
Reference: @theo.tchilinguirian
Some tasks have details in their descriptions. If you need more details, ask me

Concerned backend routes:

  • GET ../authentication/verify-reset/:token
  • POST ../authentication/send-reset-email
  • PATCH ../user/password

Requests flow schema as seen by user:
/authentication/signin (click on 'forgot password' button) --> /authentication/reset-password (enter email) (click on 'Reset password' button) --> /authentication/wait-reset (email sent)
(clicks email link) --> /authentication/update-password/:token (writes new password, confirms)

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

No branches or pull requests

1 participant