Skip to content

Commit a3c7a04

Browse files
committed
better logging
1 parent afac7ba commit a3c7a04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/render.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ impl<W: std::io::Write> HeaderContext<W> {
156156
Err(e) => log::info!("User authentication failed: {}", e),
157157
}
158158
}
159+
log::debug!(
160+
"Authentication failed with password_hash = {:?}",
161+
password_hash
162+
);
159163
// The authentication failed
160164
if let Some(link) = get_object_str(data, "link") {
161165
self.response.status(StatusCode::FOUND);

0 commit comments

Comments
 (0)