Update auth.py
Browse files
auth.py
CHANGED
@@ -89,7 +89,7 @@ def register(user: UserCreate, db: Session):
|
|
89 |
send_verification_email(user.email, verification_token)
|
90 |
|
91 |
# Verify the email
|
92 |
-
|
93 |
|
94 |
# Create the user in the database
|
95 |
user_in_db = User(email=user.email, hashed_password=hashed_password)
|
|
|
89 |
send_verification_email(user.email, verification_token)
|
90 |
|
91 |
# Verify the email
|
92 |
+
# verify_email(verification_token, db)
|
93 |
|
94 |
# Create the user in the database
|
95 |
user_in_db = User(email=user.email, hashed_password=hashed_password)
|