diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-10-23 15:01:18 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2026-10-23 15:01:18 -0500 |
| commit | 62e2ede877fcc7e91d4c2fe7969f34c9ae818e4d (patch) | |
| tree | 2a59fdb6f2ebcedbb723d8cba6a8da0fefe33e44 | |
| parent | aeb702dcd13715ea868456ee7470e753a2a305d3 (diff) | |
| download | slskd-62e2ede877fcc7e91d4c2fe7969f34c9ae818e4d.tar.gz | |
limit real time logs to admin
| -rw-r--r-- | src/slskd/Core/API/Hubs/LogsHub.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Core/API/Hubs/LogsHub.cs b/src/slskd/Core/API/Hubs/LogsHub.cs index bec12d6a..0697f5ef 100644 --- a/src/slskd/Core/API/Hubs/LogsHub.cs +++ b/src/slskd/Core/API/Hubs/LogsHub.cs @@ -62,7 +62,7 @@ namespace slskd.Core.API /// <summary> /// The logs SignalR hub. /// </summary> - [Authorize(Policy = AuthPolicy.Any)] + [Authorize(Policy = AuthPolicy.Any, Roles = AuthRole.AdministratorOnly)] public class LogsHub : Hub { public override async Task OnConnectedAsync() |
