diff --git a/src/Form/UserType.php b/src/Form/UserType.php index 04f5237..2157942 100644 --- a/src/Form/UserType.php +++ b/src/Form/UserType.php @@ -52,6 +52,7 @@ class UserType extends AbstractType if($options["mode"]!="profil") { $choices=[]; $choices['Administrateur']='ROLE_ADMIN'; + $choices['Membre']='ROLE_MEMBER'; $choices['Utilisateur']='ROLE_USER'; $builder->add('roles', diff --git a/templates/Home/home.html.twig b/templates/Home/home.html.twig index 3ed8643..0640015 100644 --- a/templates/Home/home.html.twig +++ b/templates/Home/home.html.twig @@ -273,12 +273,14 @@