mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-12 09:44:58 +00:00
role field added to user form. Works with select or radio button, not with checkbox...
This commit is contained in:
@@ -228,7 +228,7 @@ class User implements AdvancedUserInterface
|
||||
$roles = $this->roles;
|
||||
$roles[] = 'ROLE_USER';
|
||||
|
||||
return array_unique($roles);
|
||||
return $roles;
|
||||
}
|
||||
|
||||
public function getSalt(): ?string
|
||||
|
Reference in New Issue
Block a user