Actually generate the token
This commit is contained in:
parent
2b5f253833
commit
32ac3fb6a9
3
app.py
3
app.py
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue