From d8aade71ecf8302c36283db3fca91d8c02d30ce3 Mon Sep 17 00:00:00 2001 From: simonantliff Date: Thu, 21 Oct 2021 15:15:56 +1300 Subject: [PATCH] Use user.email for token --- source/users.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/users.rst b/source/users.rst index 9b3defd..465a52c 100644 --- a/source/users.rst +++ b/source/users.rst @@ -89,7 +89,7 @@ process using this method. # Now we'll send the email confirmation link subject = "Confirm your email" - token = ts.dumps(self.email, salt='email-confirm-key') + token = ts.dumps(user.email, salt='email-confirm-key') confirm_url = url_for( 'confirm_email',