Actually generate the token
This commit is contained in:
parent
2b5f253833
commit
32ac3fb6a9
1 changed files with 3 additions and 0 deletions
3
app.py
3
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue