summaryrefslogtreecommitdiff
path: root/Controllers/BundleController.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-03-06 07:41:35 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-03-06 07:41:35 +0300
commit0c4d13caed53b2702eef41461d0c8a4b25df48f6 (patch)
tree6fb6d2d54cedce1c204fb30b75f4d470fbf7ee83 /Controllers/BundleController.cs
parentcdd58a8f518d037658518c233e74beea22d03906 (diff)
Base authorization/authentification
Diffstat (limited to 'Controllers/BundleController.cs')
-rw-r--r--Controllers/BundleController.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Controllers/BundleController.cs b/Controllers/BundleController.cs
index 9e5c2d9..b1d61fd 100644
--- a/Controllers/BundleController.cs
+++ b/Controllers/BundleController.cs
@@ -1,10 +1,12 @@
using System.Data;
+using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using MyDarling.Models;
namespace MyDarling.Controllers
{
+ [Authorize]
public class BundleController : Controller
{
private DataContext context;