Cleaning up Checkout auth (#64)

This commit is contained in:
Steve Smith
2017-10-23 13:51:27 -04:00
committed by GitHub
parent 749a37d6d9
commit 4a549c3401
7 changed files with 92 additions and 27 deletions

View File

@@ -108,6 +108,7 @@ namespace Microsoft.eShopWeb.RazorPages
.AddRazorPagesOptions(options =>
{
options.Conventions.AuthorizeFolder("/Order");
options.Conventions.AuthorizePage("/Basket/Checkout");
});
_services = services;