Skip to content

Instantly share code, notes, and snippets.

@ellismarte
Created August 13, 2016 18:47
Show Gist options
  • Save ellismarte/84b3a34906ff57480d8e69cf67a31e4d to your computer and use it in GitHub Desktop.
Save ellismarte/84b3a34906ff57480d8e69cf67a31e4d to your computer and use it in GitHub Desktop.
As a user I want to delete my account.
-send a request to delete the account
-retrieve session data from redis
-check account matches data in redis
-send user an email confirming they want to delete the account
-in the email they have to click a link which has a parameter
-the parameter is an hmac sig
-when they click the link the backend checks the hmac sig is valid then deletes the account that is stored in the hmac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment