Gregniuki commited on
Commit
5229f67
·
1 Parent(s): 0a112ec

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -43,7 +43,7 @@ async def register_post(request: Request, user: UserCreate, db: Session = Depend
43
  # You can add logic to handle registration, email verification, etc.
44
  # For example, send a verification email, and redirect the user to a "registration successful" page.
45
 
46
- return templates.TemplateResponse("registration_successful.html", {"request": request})
47
 
48
 
49
  @app.get("/verify/{verification_token}", response_class=HTMLResponse)
 
43
  # You can add logic to handle registration, email verification, etc.
44
  # For example, send a verification email, and redirect the user to a "registration successful" page.
45
 
46
+ return templates.TemplateResponse("register.html", {"request": request})
47
 
48
 
49
  @app.get("/verify/{verification_token}", response_class=HTMLResponse)