Email support
We have smtplib to send emails (probably a good idea to use mailgun's too, but other providers should also work, hence using smtplib and not mailgun's HTTP library).
-
Add UNIQUE
constraint tousers.email
column -
Add support for Capability URLs (the urls with unique ids, store them in a table, etc) -
Make a pretty API for generating those Capability URLs -
Integrate it on POST /api/auth/verify/resend
-
Dispatch proper USER_UPDATE
events when the user clicks the URL.
Edited by luna