diff --git a/src/Presentation/Nop.Web/Controllers/BackwardCompatibility1XController.cs b/src/Presentation/Nop.Web/Controllers/BackwardCompatibility1XController.cs index f45669b2fa8..683df37164e 100644 --- a/src/Presentation/Nop.Web/Controllers/BackwardCompatibility1XController.cs +++ b/src/Presentation/Nop.Web/Controllers/BackwardCompatibility1XController.cs @@ -12,7 +12,9 @@ namespace Nop.Web.Controllers { - public partial class BackwardCompatibility1XController : BasePublicController + //do not inherit it from BasePublicController. otherwise a lot of extra action filters will be called + //they can create guest account(s), etc + public partial class BackwardCompatibility1XController : Controller { #region Fields diff --git a/src/Presentation/Nop.Web/Controllers/BackwardCompatibility2XController.cs b/src/Presentation/Nop.Web/Controllers/BackwardCompatibility2XController.cs index 69e230af582..ed147f7bc9f 100644 --- a/src/Presentation/Nop.Web/Controllers/BackwardCompatibility2XController.cs +++ b/src/Presentation/Nop.Web/Controllers/BackwardCompatibility2XController.cs @@ -8,7 +8,9 @@ namespace Nop.Web.Controllers { - public partial class BackwardCompatibility2XController : BasePublicController + //do not inherit it from BasePublicController. otherwise a lot of extra action filters will be called + //they can create guest account(s), etc + public partial class BackwardCompatibility2XController : Controller { #region Fields