diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-03-06 07:41:35 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-03-06 07:41:35 +0300 |
commit | 0c4d13caed53b2702eef41461d0c8a4b25df48f6 (patch) | |
tree | 6fb6d2d54cedce1c204fb30b75f4d470fbf7ee83 /Controllers/BundleController.cs | |
parent | cdd58a8f518d037658518c233e74beea22d03906 (diff) |
Base authorization/authentification
Diffstat (limited to 'Controllers/BundleController.cs')
-rw-r--r-- | Controllers/BundleController.cs | 2 |
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; |