summaryrefslogtreecommitdiff
path: root/Controllers/ApiTagController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Controllers/ApiTagController.cs')
-rw-r--r--Controllers/ApiTagController.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Controllers/ApiTagController.cs b/Controllers/ApiTagController.cs
index afd5b05..26e3dc4 100644
--- a/Controllers/ApiTagController.cs
+++ b/Controllers/ApiTagController.cs
@@ -1,9 +1,11 @@
-using Microsoft.AspNetCore.Mvc;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace HyperBooru.Controllers;
[ApiController]
+[Authorize]
[Route("/api/tag")]
public class ApiTagController : Controller {
private IDbContextFactory<HBContext> dbFactory;