From 0f7cc2cd5e385e3df1c6479f3c0159335a4deb41 Mon Sep 17 00:00:00 2001 From: Temake Date: Mon, 3 Mar 2025 00:26:18 +0100 Subject: [PATCH] Change password request from put to post request --- api/v1/routes/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/routes/auth.py b/api/v1/routes/auth.py index 3d5b46b6b..e4457f54d 100644 --- a/api/v1/routes/auth.py +++ b/api/v1/routes/auth.py @@ -368,7 +368,7 @@ async def verify_magic_link(request: Request, token_schema: Token, db: Session = return response -@auth.put("/password", status_code=200) +@auth.post("/password", status_code=200) @limiter.limit("1000/minute") # Limit to 1000 requests per minute per IP async def change_password( request: Request,