Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Minor fix PageController.cs
support424aae2e4926
diff --git a/src/Web/Grand.Web/Controllers/PageController.cs b/src/Web/Grand.Web/Controllers/PageController.csindex 1f99c23c2..3527fefb4 100644--- a/src/Web/Grand.Web/Controllers/PageController.cs+++ b/src/Web/Grand.Web/Controllers/PageController.cs@@ -93,7 +93,7 @@ namespace Grand.Web.Controllersvar page = await _mediator.Send(new GetPageBlock { PageId = model.Id, Password = model.Password });if (page is not { IsPasswordProtected: true })- return Json(new { Authenticated = authResult, Title = title, Body = body, Error = error });+ return Json(new { Authenticated = false, Title = title, Body = body, Error = error });if (page.Password != null && page.Password.Equals(model.Password)){authResult = true;