Update auth.py
Browse files
auth.py
CHANGED
@@ -97,7 +97,7 @@ def register(user: UserCreate, db: Session):
|
|
97 |
|
98 |
# Generate a verification token
|
99 |
verification_token = generate_verification_token(user.email)
|
100 |
-
reset_link = f"https://gregniuki-loginauth.hf.space/verify
|
101 |
# Send a verification email
|
102 |
send_verification_email(user.email, reset_link)
|
103 |
|
|
|
97 |
|
98 |
# Generate a verification token
|
99 |
verification_token = generate_verification_token(user.email)
|
100 |
+
reset_link = f"https://gregniuki-loginauth.hf.space/verify?token={verification_token}"
|
101 |
# Send a verification email
|
102 |
send_verification_email(user.email, reset_link)
|
103 |
|