Browse Source

Include user email in successful login logs

pull/7496/head
Alejandro Olmos 2 months ago
parent
commit
af1320d611
  1. 2
      src/api/identity.rs

2
src/api/identity.rs

@ -577,7 +577,7 @@ async fn authenticated_response(
result["TwoFactorToken"] = Value::String(token); result["TwoFactorToken"] = Value::String(token);
} }
info!("User {} logged in successfully. IP: {}", user.display_name(), ip.ip); info!("User {} logged in successfully. IP: {}", user.email, ip.ip);
Ok(Json(result)) Ok(Json(result))
} }

Loading…
Cancel
Save