Skip to content

Commit

Permalink
Add trace logging before updating login info in database.
Browse files Browse the repository at this point in the history
  • Loading branch information
ISibboI committed Dec 14, 2023
1 parent 181cda9 commit 49c7af3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/rvoc-backend/src/web/authentication.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ pub async fn login(
}

// update login info
trace!("Updating login info: {user_login_info:?}");
let username = user_login_info.name.clone();
let affected_rows = diesel::update(users::table)
.set(user_login_info)
Expand Down

0 comments on commit 49c7af3

Please sign in to comment.