password hashes should stop appearing in logs

This commit is contained in:
2021-03-27 07:36:39 +01:00
parent a4d5982e3c
commit dbffd4dbeb
3 changed files with 3 additions and 1 deletions
-1
View File
@@ -157,7 +157,6 @@ pub(crate) async fn get_user(
if let Ok(uid) = user_id.parse::<i64>() {
slog_info!(server_config.log, "Getting user {}", uid);
let auth = authenticate(id, server_config).await?;
slog_info!(server_config.log, "{:?}", &auth);
if auth.admin_or_self(uid) {
match auth {
Role::Admin { user } | Role::Regular { user } => {