Browse Source

prénom avant nom dans UserManager

François 6 năm trước cách đây
mục cha
commit
7d6696782a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/AppBundle/Command/AppUserCreateCommand.php

+ 1 - 1
src/AppBundle/Command/AppUserCreateCommand.php

@@ -45,8 +45,8 @@ class AppUserCreateCommand extends ContainerAwareCommand
         $questionRole->setMultiselect(true);
 
         $username = $helper->ask($input, $output, $questionUsername);
-        $nom = $helper->ask($input, $output, $questionNom);
         $prenom = $helper->ask($input, $output, $questionPrenom);
+        $nom = $helper->ask($input, $output, $questionNom);
         $mail = $helper->ask($input, $output, $questionMail);
         $password = $helper->ask($input, $output, $questionPassword);
         $roles = $helper->ask($input, $output, $questionRole);