diff --git a/VirtoCommerce.Storefront/Controllers/DesignerPreviewController.cs b/VirtoCommerce.Storefront/Controllers/DesignerPreviewController.cs index 2d8bdec0e..1866fa41b 100644 --- a/VirtoCommerce.Storefront/Controllers/DesignerPreviewController.cs +++ b/VirtoCommerce.Storefront/Controllers/DesignerPreviewController.cs @@ -22,7 +22,8 @@ public IActionResult Index() } [HttpPost("designer-preview/block")] - [ValidateAntiForgeryToken] + //We can't use AntiForgery check here due to IFrame limitations. Browsers don't send cookies from IFrames. + //[ValidateAntiForgeryToken] public IActionResult Block([FromBody]dynamic data) { var page = new ContentPage