aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/API/Controllers/LogsController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-10-06 08:41:00 -0500
committerGitHub <noreply@github.com>2022-10-06 08:41:00 -0500
commitfb6350e107bd5f850a13c8c2065e341241967ab2 (patch)
tree73e1aaa9e197df71f28accec82121581774a1aad /src/slskd/Core/API/Controllers/LogsController.cs
parentb879d7109ccde713b17258dc6d1e89624fdb6603 (diff)
parent55db59a4ef022befd503cee7247e5f4f5e403ef8 (diff)
downloadslskd-fb6350e107bd5f850a13c8c2065e341241967ab2.tar.gz
Merge pull request #681 from slskd/fix-auth
Add authorization policies
Diffstat (limited to 'src/slskd/Core/API/Controllers/LogsController.cs')
-rw-r--r--src/slskd/Core/API/Controllers/LogsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Core/API/Controllers/LogsController.cs b/src/slskd/Core/API/Controllers/LogsController.cs
index 57366867..2beaf279 100644
--- a/src/slskd/Core/API/Controllers/LogsController.cs
+++ b/src/slskd/Core/API/Controllers/LogsController.cs
@@ -35,7 +35,7 @@ namespace slskd.Core.API
/// </summary>
/// <returns></returns>
[HttpGet]
- [Authorize]
+ [Authorize(Policy = AuthPolicy.Any)]
public IActionResult Logs()
{
return Ok(Program.LogBuffer);