diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-10-26 00:06:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-26 00:06:31 +0200 |
| commit | deb349f4c5125dc9118279d52d9460aadc994eda (patch) | |
| tree | e9a5fa7a5eebbff7c34f9d8c3fd3228390192f4b /Jellyfin.Api/Controllers/DlnaServerController.cs | |
| parent | 26cfde87655bff6c33ba4ba86dc2786eb430fe13 (diff) | |
| parent | a60a1ab89b68d47d00fe4dc948b4ef1c036d42ec (diff) | |
Merge pull request #5755 from BaronGreenback/NetworkAccessPolicy
Diffstat (limited to 'Jellyfin.Api/Controllers/DlnaServerController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/DlnaServerController.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/DlnaServerController.cs b/Jellyfin.Api/Controllers/DlnaServerController.cs index 694d16ad9..4e8c01577 100644 --- a/Jellyfin.Api/Controllers/DlnaServerController.cs +++ b/Jellyfin.Api/Controllers/DlnaServerController.cs @@ -7,7 +7,9 @@ using System.Threading.Tasks; using Emby.Dlna; using Emby.Dlna.Main; using Jellyfin.Api.Attributes; +using Jellyfin.Api.Constants; using MediaBrowser.Controller.Dlna; +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; @@ -17,6 +19,7 @@ namespace Jellyfin.Api.Controllers /// Dlna Server Controller. /// </summary> [Route("Dlna")] + [Authorize(Policy = Policies.AnonymousLanAccessPolicy)] public class DlnaServerController : BaseJellyfinApiController { private readonly IDlnaManager _dlnaManager; |
