Skip to content

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.

Add FieldSizeLimits.cs

support259492f5ff41
diff --git a/src/Core/Grand.SharedKernel/FieldSizeLimits.cs b/src/Core/Grand.SharedKernel/FieldSizeLimits.cs
new file mode 100644
index 000000000..d67810a62
--- /dev/null
+++ b/src/Core/Grand.SharedKernel/FieldSizeLimits.cs
@@ -0,0 +1,7 @@
+namespace Grand.SharedKernel;
+
+public static class FieldSizeLimits
+{
+ public const int NameMaxLength = 200;
+ public const int EmailMaxLength = 150;
+}