mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
extends User entity + alter admin (WIP)
This commit is contained in:
@@ -113,6 +113,10 @@ services:
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
Chill\MainBundle\Form\UserType:
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
|
||||
Chill\MainBundle\Form\PermissionsGroupType:
|
||||
tags:
|
||||
- { name: form.type }
|
||||
@@ -123,3 +127,4 @@ services:
|
||||
- "@security.token_storage"
|
||||
tags:
|
||||
- { name: form.type }
|
||||
|
||||
|
@@ -18,6 +18,8 @@ Chill\MainBundle\Entity\User:
|
||||
min: 3
|
||||
email:
|
||||
- Email: ~
|
||||
label:
|
||||
- NotBlank: ~
|
||||
constraints:
|
||||
- Callback:
|
||||
callback: isGroupCenterPresentOnce
|
||||
|
Reference in New Issue
Block a user