diff --git a/aspnetcore/security/authorization/simple.md b/aspnetcore/security/authorization/simple.md index 952aba425ce4..cdf8978fabbd 100644 --- a/aspnetcore/security/authorization/simple.md +++ b/aspnetcore/security/authorization/simple.md @@ -73,7 +73,7 @@ This would allow only authenticated users to the `AccountController`, except for ## Authorize attribute and Razor Pages -The can ***not*** be applied to Razor Page handlers. For example, `[Authorize]` can't be applied to `OnGet`, `OnPost`, or any other page handler. +The can ***not*** be applied to Razor Page handlers. For example, `[Authorize]` can't be applied to `OnGet`, `OnPost`, or any other page handler. Consider using an ASP.NET Core MVC controller for pages with different authorization requirements for different handlers. The following two approaches can be used to apply authorization to Razor Page handler methods: