Actually generate the token

This commit is contained in:
Tracker-Friendly 2023-11-19 11:41:25 +00:00
parent 2b5f253833
commit 32ac3fb6a9
1 changed files with 3 additions and 0 deletions

3
app.py
View File

@ -85,6 +85,9 @@ def create_email_account(username, password):
@app.route('/') @app.route('/')
def index(): def index():
# Generate a unique token
unique_token = str(uuid.uuid4())
# Generate the CAPTCHA for the user # Generate the CAPTCHA for the user
captcha_text = generate_captcha_text() captcha_text = generate_captcha_text()
image = ImageCaptcha().generate(captcha_text) image = ImageCaptcha().generate(captcha_text)