aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Common/Authentication/ApiKeyAuthentication.cs')
-rw-r--r--src/slskd/Common/Authentication/ApiKeyAuthentication.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
index fb209478..e2733442 100644
--- a/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
+++ b/src/slskd/Common/Authentication/ApiKeyAuthentication.cs
@@ -88,7 +88,7 @@ namespace slskd.Authentication
}
catch (Exception ex)
{
- Log.Warning(ex, "Unauthorized: {Message}", ex.Message);
+ Log.Warning("Unauthorized request from IP address {IP}: {Message}", Request.HttpContext.Connection.RemoteIpAddress, ex.Message);
return AuthenticateResult.Fail(ex);
}
}