Skip to content
This repository was archived by the owner on Jun 6, 2020. It is now read-only.

Commit 2954674

Browse files
committed
Updating choice type to list user role
1 parent 0913eef commit 2954674

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/config/admin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ harmony_admin:
1515
- 'username'
1616
- 'email'
1717
- { property: 'plainPassword', type: Symfony\Component\Form\Extension\Core\Type\TextType, type_options: { required: false } }
18-
- { property: 'roles', type: 'choice', type_options: { choices: { ROLE_USER: 'ROLE_USER', ROLE_ADMIN: 'ROLE_ADMIN' }, multiple: true } }
18+
- { property: 'roles', type: Harmony\Bundle\UserBundle\Form\Type\UserRoleType }

0 commit comments

Comments
 (0)