Email confirmation 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
Currently, we send out two emails after 2 hours of user signup. That mechanism should be replaced by this email which sends immediately. When they verify their email, then we can send either welcome_complete or welcome_incomplete based on their onboarding status
Follow the "Welcome_incomplete" template for now and use the existing header and footer structure, but change the text to:
@name,
Please take a moment to validate your email address. This helps us prevent spam and ensure users are real. Click this link and we'll know it's you.
<link and call to action button like the other template.>
Thanks,
The Minds Team
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
- Replace the welcome emails with this one that sends immediately
- Send them the welcome_complete or welcome_incomplete on verficiation based on their onboarding progress
- 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
added scoped labels
changed weight to 8
added to epic &102
marked this issue as related to minds#608
changed time estimate to 1d
added scoped label
marked this issue as related to minds#990
marked this issue as related to minds#991 (closed)
changed the description
added scoped label
added scoped label and automatically removed label
changed due date to December 16, 2019
changed title from Email ation on account creation to Email ation on account creation
closed
reopened
changed title from Email ation on account creation to Email ation on account creation
changed title from Email ation on account creation to Email ation on account creation
- Developer
- Should we show something on the web and mobile app UI to let users know that they have to verify their email address.
- What would happen if the user clicks the link after it's expired? Right now we're treating the TOKEN as invalid, but we might want to re-send the verification email. Should we show something on the UX?
- Should we remove validated status when the user changes the email address thru Settings > Email Notifications?
- In the case (3) is true, should we introduce a warning and a confirmation to the Settings UX (both web and mobile)?
- Owner
Hey,
- Si :)
- Si :)
- Si :)
- Si :)
We should find some other apps for UX examples like Coinbase etc. It could probably just be a modal (cross-platform) that appears and won't disappear until updated. Thanks Emi!
- Developer
@ottman I was thinking, at least for now, to use the blue bar we show to ask users to setup their MetaMask wallet... without the possibility to close it until email is validated.
cc/ @brianhatchet
- Owner
Yes that sounds fine so atleast they can navigate around the site but it is a bit annoying.
added scoped label and automatically removed label
added 1d 4h of time spent at 2019-12-16
assigned to @benhayward.ben
- Developer
@benhayward.ben this one is awaiting your buddy review.
added scoped label and automatically removed label
unassigned @edgebal
assigned to @edgebal and unassigned @benhayward.ben
- Developer
Miscommunication; this isn't ready yet.
marked this issue as related to #1243 (closed)
assigned to @markeharding
added scoped labels and automatically removed labels
- Developer
@markeharding we need to get the email secrets re-applied now that @edgebal fixed the issue.
added 1d 2h of time spent at 2019-12-17
removed time spent
added 1d 6h of time spent at 2019-12-17
- Developer
- Re-send confirmation email endpoint
- Reset confirmed flag upon email address change
-
Export a
window.Minds
variable when source is confirmation email - Bugfixes on confirmation manager and email template
- Initial smoke testing on Sandbox
mentioned in issue front#2373
added scoped label and automatically removed label
assigned to @benhayward.ben and unassigned @markeharding and @edgebal
added scoped label and automatically removed label
added scoped label and automatically removed label
assigned to @brianhatchet and @xander-miller and unassigned @benhayward.ben
added scoped label and automatically removed label
added scoped label and automatically removed label
- Developer
New requirement:
-
Should use
/email-confirmation
path on confirmation email URL -
Should add a SEO redirect to
/
from/email-confirmation
cc/ @brianhatchet
-
Should use
added scoped label and automatically removed label
assigned to @edgebal and unassigned @brianhatchet and @xander-miller
assigned to @brianhatchet
added scoped label and automatically removed label
- Developer
See front#2373 (comment 264526103) on why this issue is marked as Blocked
Edited by Emiliano Balbuena added scoped label and automatically removed label