Selaa lähdekoodia

Allow usernames from 2 chars on

Jordi Boggiano 6 vuotta sitten
vanhempi
commit
153d0fe1bc
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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"}
      * )