aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DevicesController.cs
diff options
context:
space:
mode:
authorDavid <daullmer@gmail.com>2020-06-18 18:37:08 +0200
committerGitHub <noreply@github.com>2020-06-18 18:37:08 +0200
commit522e44de59a8661a859f6a373e495a9e0e8d13ff (patch)
treec5d6db8a9ef69b345a439e3a45ee5eeec0e1e588 /Jellyfin.Api/Controllers/DevicesController.cs
parent1da044e0eb6cd4a96f4c554a0348663380868f80 (diff)
parent0c01b6817b9e14661fd1ebea05590b60278e735c (diff)
Merge pull request #3357 from crobibero/api-authorization
Add Authorization handlers
Diffstat (limited to 'Jellyfin.Api/Controllers/DevicesController.cs')
-rw-r--r--Jellyfin.Api/Controllers/DevicesController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/DevicesController.cs b/Jellyfin.Api/Controllers/DevicesController.cs
index 1575307c5..78368eed6 100644
--- a/Jellyfin.Api/Controllers/DevicesController.cs
+++ b/Jellyfin.Api/Controllers/DevicesController.cs
@@ -15,7 +15,7 @@ namespace Jellyfin.Api.Controllers
/// <summary>
/// Devices Controller.
/// </summary>
- [Authorize]
+ [Authorize(Policy = Policies.DefaultAuthorization)]
public class DevicesController : BaseJellyfinApiController
{
private readonly IDeviceManager _deviceManager;