Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project overview
  • Repository
  • Issues 287
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
  • CI / CD
  • Security & Compliance
  • Packages
  • Wiki
  • Snippets
  • Members
  • Collapse sidebar
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #1229

Closed
Open
Opened 1 minute ago by Brian Hatchet@brianhatchet:speech_balloon:0 of 6 tasks completed0/6 tasks
Report abuse New issue

Email verification on account creation

When a new user signs up, send them an email with a hashcode. The email should use a queue and an email event.

The hashcode should be a the user's guid and a timestamp.

The user account record in cassandra should contain the date the verification time stamp was sent.

When the user clicks the verification link with an email, the router should validate the hash with the user id and the timestamp. If the user clicked the URL within 48 hours, the hash is valid. The user's record should be updated with a "validated_at" timestamp and the User entity should expose an "isValidated()" function.

The 48 hours should be a default value in editable by helm / settings.php

Follow the "Welcome_incomplete" template for now and use the existing header and footer structure, but change the text to:

Welcome to Minds!

We hate spam as much as you do. Please, take a moment to validate your email address. Click this link and we'll know it's you.


<link and call to action button like the other template.>

Be sure to provide the tracking information so we can identify the success of this email.

  • Send a verification hash email through the queue
  • Use the existing email template and events mechanism.
  • Extend the router to parse and validate the url clicked within a configurable value of 48 hours
  • Extend the commandline tool to allow easy testing of the email
  • Write end to end tests for the events
  • Provide phpunit tests for the new email and router callback

Related issues
0

  • Discussion 0
  • Designs 0
  • Brian Hatchet :speech_balloon: @brianhatchet added Sprint::12/11 - Understood Unicorn Squad::Yellow scoped labels 1 minute ago

    added scoped labels

  • Brian Hatchet :speech_balloon: @brianhatchet changed weight to 8 1 minute ago

    changed weight to 8

  • Brian Hatchet :speech_balloon: @brianhatchet added to epic &102 1 minute ago

    added to epic &102

Please register or sign in to reply
Assignee
Emiliano Balbuena's avatar
Emiliano Balbuena @edgebal
Bot & Fraud Prevention
Epic
Bot & Fraud Prevention
None
Milestone
None
Time tracking
No estimate or time spent
None
Due date
None
2
Labels
Sprint::12/11 - Understood Unicorn Squad::Yellow
8
Weight
8
Confidentiality
Not confidential
Lock issue
Unlocked
2
2 participants
user avatar
Emiliano Balbuena
user avatar
Brian Hatchet
Reference: minds/engine#1229