From 32ac3fb6a94b63558321ec526f3d808084c14a09 Mon Sep 17 00:00:00 2001 From: Tracker-Friendly Date: Sun, 19 Nov 2023 11:41:25 +0000 Subject: [PATCH] Actually generate the token --- app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.py b/app.py index e9a3b92..6f341f0 100644 --- a/app.py +++ b/app.py @@ -85,6 +85,9 @@ def create_email_account(username, password): @app.route('/') def index(): + # Generate a unique token + unique_token = str(uuid.uuid4()) + # Generate the CAPTCHA for the user captcha_text = generate_captcha_text() image = ImageCaptcha().generate(captcha_text)