Эх сурвалжийг харах

Allow usernames from 2 chars on

Jordi Boggiano 6 жил өмнө
parent
commit
153d0fe1bc

+ 1 - 1
src/Packagist/WebBundle/Entity/User.php

@@ -64,7 +64,7 @@ class User extends BaseUser
 
     /**
      * @Assert\Length(
-     *     min=8,
+     *     min=2,
      *     max=180,
      *     groups={"Profile", "Registration"}
      * )