We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f80ae2b commit 113b6beCopy full SHA for 113b6be
backend/app/api/routes/login.py
@@ -85,7 +85,8 @@ def reset_password(session: SessionDep, body: NewPassword) -> Message:
85
user = crud.get_user_by_email(session=session, email=email)
86
if not user:
87
raise HTTPException(
88
- status_code=404, detail="The user with this email does not exist in the system."
+ status_code=404,
89
+ detail="The user with this email does not exist in the system."
90
)
91
elif not user.is_active:
92
raise HTTPException(status_code=400, detail="Inactive user")
0 commit comments