diff --git a/app/routers/auth.py b/app/routers/auth.py index 9053c0f..e85d4cb 100644 --- a/app/routers/auth.py +++ b/app/routers/auth.py @@ -105,7 +105,7 @@ async def enable_2fa( } -@router.get("/2fa/generate-qrcode/") +@router.post("/2fa/generate-qrcode/") async def generate_qrcode( form_data: Annotated[OAuth2PasswordRequestForm, Depends()], ) -> bytes: