diff --git a/endpoints/login.post.py b/endpoints/login.post.py index a8ab4aa..0389c5f 100644 --- a/endpoints/login.post.py +++ b/endpoints/login.post.py @@ -21,7 +21,7 @@ async def login( user = db.query(User).filter(User.username == user_data.username).first() if not user or not verify_password(user_data.password, user.hashed_password): - raise HTTPException(status_code=400, detail="Invalid credentials") + raise HTTPException(status_code=400, detail="Invalid credentials entered by user") # Generate token with expiration access_token = create_access_token(