Skip to content

Instantly share code, notes, and snippets.

@ddahan
Created January 4, 2017 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddahan/c087975c5e3e0cd9fef305d364c1e537 to your computer and use it in GitHub Desktop.
Save ddahan/c087975c5e3e0cd9fef305d364c1e537 to your computer and use it in GitHub Desktop.
def email_verification(request, token):
# On vérifie la validité du token et raise une erreur si invalide
u = User.get_user_from_token(str_token=token)
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment