Skip to content

Commit

Permalink
i am going insane
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmeme01 committed Feb 7, 2024
1 parent fef4924 commit 458ead6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion server/central/src/web/routes/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ pub async fn challenge_start(context: &mut Context<ServerState>) -> roa::Result
let verify = state.config.use_gd_api;
drop(state);

trace!("sending existing challenge to {user_ip} with {rand_string}");

context.write(format!(
"{}:{}",
if verify { level_id.to_string() } else { "none".to_string() },
Expand Down Expand Up @@ -215,7 +217,7 @@ pub async fn challenge_finish(context: &mut Context<ServerState>) -> roa::Result
let ch_answer = &*context.must_query("answer")?;

log::trace!(
"challenge finish from {} ({}) with answer: {}",
"challenge finish from {} ({}) with answer yay: {}",
account_name,
account_id,
ch_answer
Expand Down

0 comments on commit 458ead6

Please sign in to comment.