diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 9166abe..895048d 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,11 +4,8 @@
-
+
-
-
-
@@ -155,7 +152,6 @@
-
@@ -180,7 +176,8 @@
-
+
+
true
diff --git a/pkg/internal/server/api/accounts_api.go b/pkg/internal/server/api/accounts_api.go
index 152afe9..dbf6280 100644
--- a/pkg/internal/server/api/accounts_api.go
+++ b/pkg/internal/server/api/accounts_api.go
@@ -104,7 +104,7 @@ func editUserinfo(c *fiber.Ctx) error {
user := c.Locals("user").(models.Account)
var data struct {
- Nick string `json:"nick" validate:"required,min=4,max=24"`
+ Nick string `json:"nick" validate:"required,min=2,max=24"`
Description string `json:"description"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`