From af1320d611f017ced33cf2e86aee3f044b67f0cb Mon Sep 17 00:00:00 2001 From: Alejandro Olmos Date: Tue, 28 Jul 2026 11:44:34 +0200 Subject: [PATCH] Include user email in successful login logs --- src/api/identity.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/identity.rs b/src/api/identity.rs index 9212ed8d..ccb57135 100644 --- a/src/api/identity.rs +++ b/src/api/identity.rs @@ -577,7 +577,7 @@ async fn authenticated_response( 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)) }