|
@@ -109,7 +109,8 @@ 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):
|
|
|
+async def get_login_and_register_page(request: Request,name_hash):
|
|
|
+ print(name_hash)
|
|
|
return templates.TemplateResponse("login.html", {"request": request})
|
|
|
|
|
|
@app.post("/login")
|