mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Authored files should be authorized
This commit is contained in:
parent
41976f7633
commit
452f86499e
@ -5,6 +5,7 @@ using System.Net;
|
|||||||
using System.Security.Claims;
|
using System.Security.Claims;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using FluentFTP;
|
using FluentFTP;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Nettle;
|
using Nettle;
|
||||||
@ -16,6 +17,7 @@ using Wabbajack.Server.DTOs;
|
|||||||
|
|
||||||
namespace Wabbajack.BuildServer.Controllers
|
namespace Wabbajack.BuildServer.Controllers
|
||||||
{
|
{
|
||||||
|
[Authorize]
|
||||||
[Route("/authored_files")]
|
[Route("/authored_files")]
|
||||||
public class AuthoredFiles : ControllerBase
|
public class AuthoredFiles : ControllerBase
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user