From f72873c67f6445098669a543d1099541d4d3d318 Mon Sep 17 00:00:00 2001 From: Musbi Date: Tue, 26 May 2026 00:43:26 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Simplify=20error=20message=20for?= =?UTF-8?q?=20non-existent=20user=20in=20password=20recovery?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/api/routes/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/api/routes/login.py b/backend/app/api/routes/login.py index 58441e37e9..52f044cac8 100644 --- a/backend/app/api/routes/login.py +++ b/backend/app/api/routes/login.py @@ -111,7 +111,7 @@ def recover_password_html_content(email: str, session: SessionDep) -> Any: if not user: raise HTTPException( status_code=404, - detail="The user with this username does not exist in the system.", + detail="User does not exist.", ) password_reset_token = generate_password_reset_token(email=email) email_data = generate_reset_password_email(