Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
Wouldn't this be more useful if the attribute used OnActionExecutionAsync to validate the recaptcha before the work is done on a controller? Or am I missing something?
https://github.com/OrchardCMS/OrchardCore/blob/e3fb733af31c09e6441206b01e7edbaa7f803559/src/OrchardCore/OrchardCore.ReCaptcha.Core/ActionFilters/ValidateReCaptchaAttribute.cs#L20
Wouldn't this be more useful if the attribute used OnActionExecutionAsync to validate the recaptcha before the work is done on a controller? Or am I missing something?