Adding Auth (#62)
* Refactoring ViewModels into Razor Pages models * Cleaning up Basket viewcomponent * Refactoring services. Fixed bug in basket item counter. * Adding Auth filters to Web and WebWithRazor
This commit is contained in:
@@ -11,6 +11,7 @@ using ApplicationCore.Interfaces;
|
||||
namespace Microsoft.eShopWeb.Controllers
|
||||
{
|
||||
[Route("[controller]/[action]")]
|
||||
[Authorize]
|
||||
public class AccountController : Controller
|
||||
{
|
||||
private readonly UserManager<ApplicationUser> _userManager;
|
||||
|
||||
Reference in New Issue
Block a user