Skip to content

Commit

Permalink
Update admin_user_login_api_handler.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
indpurvesh committed Dec 28, 2024
1 parent eeaba8d commit 37f700e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/api/handlers/admin_user/admin_user_login_api_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ pub async fn admin_user_login_api_handler(
.find_by_email(&state.db, payload.email.to_owned())
.await?;

println!("admin user model: {:#?}", admin_user_model);

let is_password_match: bool = state
.admin_user_service
.compare_password(payload.password.clone(), admin_user_model.password.clone())?;
Expand Down

0 comments on commit 37f700e

Please sign in to comment.