Update main.py
Browse files
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("
|
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)
|