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

Add password recovery functionality #37

Open
visto9259 opened this issue Feb 14, 2023 · 1 comment
Open

Add password recovery functionality #37

visto9259 opened this issue Feb 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@visto9259
Copy link
Member

Add functionality to allow the recovery of a forgotten password.

  1. Add action to controller to render a password recovery page if the request is GET. If the request is a POST, create a unique token associated with the user id or email and send an email to the user with a link to reset the password. The link will route to action 2 below
  2. Add action to controller to allow the user to enter an new password if the token is valid. Destroy token when done.
  3. Add the views for action 1 and 2 above
  4. Add adapter to handle the creation, deletion and validation of tokens
  5. Add options (token expiration, etc.)

I have already implemented this in my application. I will pull in a generalized version

@visto9259
Copy link
Member Author

See #63

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant