Sfoglia il codice sorgente

Allow usernames from 2 chars on

Jordi Boggiano 6 anni fa
parent
commit
153d0fe1bc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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"}
      * )