mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 10:03:49 +00:00
add email to user and allow to connect through email or username
This commit is contained in:
@@ -19,6 +19,7 @@ class UserType extends AbstractType
|
||||
{
|
||||
$builder
|
||||
->add('username')
|
||||
->add('email')
|
||||
;
|
||||
if ($options['is_creation']) {
|
||||
$builder->add('plainPassword', UserPasswordType::class, array(
|
||||
|
Reference in New Issue
Block a user