Add AuthorizeAttribute to all admin controllers

This commit is contained in:
2019-11-08 00:37:51 +00:00
parent aff14cdaa7
commit ad2d2bbf37
31 changed files with 86 additions and 24 deletions

View File

@@ -7,10 +7,12 @@ using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using DiscImageChef.Server.Models;
using Microsoft.AspNetCore.Authorization;
namespace DiscImageChef.Server.Areas.Admin.Controllers
{
[Area("Admin")]
[Authorize]
public class MmcFeaturesController : Controller
{
private readonly DicServerContext _context;