Przeglądaj źródła

Allow usernames from 2 chars on

Jordi Boggiano 6 lat temu
rodzic
commit
153d0fe1bc
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Packagist/WebBundle/Entity/User.php

+ 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"}
      * )