Fix Authorize attributes

pull/2931/head
crobibero 5 years ago
parent 466e20ea8c
commit f3da5dc8b7

@ -6,7 +6,7 @@ using System.Threading.Tasks;
using MediaBrowser.Common.Extensions; using MediaBrowser.Common.Extensions;
using MediaBrowser.Controller.Library; using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.MediaEncoding; using MediaBrowser.Controller.MediaEncoding;
using MediaBrowser.Controller.Net; using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
@ -16,7 +16,7 @@ namespace Jellyfin.Api.Controllers
/// Attachments controller. /// Attachments controller.
/// </summary> /// </summary>
[Route("Videos")] [Route("Videos")]
[Authenticated] [Authorize]
public class AttachmentsController : Controller public class AttachmentsController : Controller
{ {
private readonly ILibraryManager _libraryManager; private readonly ILibraryManager _libraryManager;

Loading…
Cancel
Save