codeclubsocial / codeclub_website_dev

CodeClub website source (website no longer hosted)
http://www.codeclub.social
26 stars 7 forks source link

Email Verification for new users #34

Closed holaymolay closed 7 years ago

holaymolay commented 7 years ago
craig429 commented 7 years ago

Okay, signup form triggers a verify e-mail if:

  1. Fields are not blank
  2. Email is correctly formatted
  3. Password is at least 5 characters with at least 1 numeral The verify page waits for an acknowledge, which comes when the user clicks the link in the e-mail. The user document has a Boolean called verified. If the user tries to log in without verified == true the login fails. When the verification arrives verified is set to true in the user document and the page is redirected to login, with a verification acknowledgement. Closing this.