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

how to allow people to create an account (one-time link to a form?) #95

Open
mattlub opened this issue Jun 1, 2017 · 0 comments
Open

Comments

@mattlub
Copy link
Member

mattlub commented Jun 1, 2017

we need to create a create account form page.

possible flow:

  • when someone requests an account:

    • create OTP (one-time password) and add to db, with columns for hasBeenUsed and validUntil I guess
    • send email with link to create account page, include OTP in email
  • when form is submitted, check OTP is valid, if so:

    • set hasBeenUsed
    • add user to db (remember to hash the password)
@mattlub mattlub changed the title how to create login credentials (one-time link to a form to create an account?) how to allow people to create an account (one-time link to a form?) Jun 1, 2017
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