Gregniuki commited on
Commit
bbe5c13
·
1 Parent(s): 26354f4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -107,7 +107,7 @@ async def verify_email(verification_token: str, request: Request, db: Session =
107
 
108
  # Mark the email as verified in the database
109
  user.is_verified = True
110
- user.email_verification_token = None # Optionally clear the verification token
111
  db.commit()
112
 
113
  # Handle a successful verification
 
107
 
108
  # Mark the email as verified in the database
109
  user.is_verified = True
110
+ #user.email_verification_token = None # Optionally clear the verification token
111
  db.commit()
112
 
113
  # Handle a successful verification