aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Relay/API/Controllers/RelayController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Relay/API/Controllers/RelayController.cs')
-rw-r--r--src/slskd/Relay/API/Controllers/RelayController.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slskd/Relay/API/Controllers/RelayController.cs b/src/slskd/Relay/API/Controllers/RelayController.cs
index c11c33bc..d6f4f840 100644
--- a/src/slskd/Relay/API/Controllers/RelayController.cs
+++ b/src/slskd/Relay/API/Controllers/RelayController.cs
@@ -150,7 +150,7 @@ namespace slskd.Relay
// caller is the same caller that received the request, and that the caller knows the shared secret.
if (!Relay.TryValidateFileStreamResponseCredential(token: guid, agentName, filename, credential))
{
- Log.Warning("Failed to authenticate file upload token {Token} from a caller claiming to be agent {Agent}", agentName);
+ Log.Warning("Failed to authenticate file upload token {Token} from a caller claiming to be agent {Agent}", guid, agentName);
return Unauthorized();
}
@@ -220,7 +220,7 @@ namespace slskd.Relay
if (!Relay.TryValidateShareUploadCredential(token: guid, agentName, credential))
{
- Log.Warning("Failed to authenticate share upload from caller claiming to be agent {Agent}");
+ Log.Warning("Failed to authenticate share upload from caller claiming to be agent {Agent} using token {Token}", agentName, guid);
return Unauthorized();
}