aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/DevicesController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-06-16 14:15:58 -0600
committercrobibero <cody@robibe.ro>2020-06-16 14:15:58 -0600
commitc24666253c48ef17402bd8ddb7688821616ec6ba (patch)
tree9a62d99ceae36e20c454010d50b8930341aadfd7 /Jellyfin.Api/Controllers/DevicesController.cs
parent774fdbd031f96dada757470c6e935f0667c775f1 (diff)
Add Default authorization policy
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 1754b0cbd..2f5362851 100644
--- a/Jellyfin.Api/Controllers/DevicesController.cs
+++ b/Jellyfin.Api/Controllers/DevicesController.cs
@@ -17,7 +17,7 @@ namespace Jellyfin.Api.Controllers
/// <summary>
/// Devices Controller.
/// </summary>
- [Authorize]
+ [Authorize(Policy = Policies.DefaultAuthorization)]
public class DevicesController : BaseJellyfinApiController
{
private readonly IDeviceManager _deviceManager;