From e0cbfda25285be1cc3d7171e7025b19e661c4428 Mon Sep 17 00:00:00 2001 From: phoenix Date: Tue, 22 Sep 2026 12:36:51 -0400 Subject: [PATCH] Test is not passing --- src/callers/login.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/callers/login.rs b/src/callers/login.rs index 65dc6ca..f84a1ac 100644 --- a/src/callers/login.rs +++ b/src/callers/login.rs @@ -320,9 +320,11 @@ pub mod endpoint { if !payload.is_valid() { response.message = "Invalid request".to_string(); + println!("Invalid request"); return (axum::http::StatusCode::BAD_REQUEST, axum::Json(response)); } + println!("Get User"); match repo::user::get(&pool, &payload.username).await { Ok(user) => { if hashing::verify_password(&payload.current_password, user.password.clone())