We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6190648 commit e9d9e9bCopy full SHA for e9d9e9b
ApiIntegrationMvc/Areas/Admin/Controllers/UsersController.cs
@@ -1,10 +1,13 @@
1
-using Microsoft.AspNetCore.Mvc;
+using Microsoft.AspNetCore.Authorization;
2
+using Microsoft.AspNetCore.Mvc;
3
+using SharedLibrary.Auth;
4
5
namespace ApiIntegrationMvc.Areas.Admin.Controllers
6
{
7
[Area("Admin")]
8
public class UsersController : Controller
9
10
+ [Authorize(Policy = PolicyType.WEB_LEVEL)]
11
public IActionResult Index()
12
13
return RedirectToAction("Index", "Home", new { area = "Home" });
0 commit comments