Explorar o código

remove name hash

ming %!s(int64=3) %!d(string=hai) anos
pai
achega
b2bcb8a93f
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      api/main.py

+ 1 - 2
api/main.py

@@ -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")