|
@@ -109,8 +109,7 @@ def protected(request: Request, Authorize: AuthJWT = Depends()):
|
|
|
|
|
|
# login & register page
|
|
|
@app.get("/login", response_class=HTMLResponse)
|
|
|
-async def get_login_and_register_page(request: Request,name_hash:Optional[str]):
|
|
|
- print(name_hash)
|
|
|
+async def get_login_and_register_page(request: Request):
|
|
|
return templates.TemplateResponse("login.html", {"request": request})
|
|
|
|
|
|
@app.post("/login")
|