You are browsing as a guest. Sign up (or log in) to start making projects!

1h 43m 41s logged

Feature: Verification emails

When you create an account, an email with the verification code gets sent.

You are redirected to a verification page, where you can enter the code, submit and your account gets marked as verified.

The page after verification is not implemented.

To do this, I:

  1. Added a hidden input to the code input that contains the actual value
  2. Set up mail sending using AWS SES (over SMTP)
  3. Added a flags column to users, and created a flagset with a verified and admin flag
  4. Created verification sessions, which store the code, an expiry date and a unique identifier

Next, I’ll implement signing in (with sessions)


0
2

Comments 0

No comments yet. Be the first!