fos_user.yml 905 B

123456789101112131415161718192021222324252627
  1. fos_user:
  2. db_driver: orm # can be orm or odm
  3. firewall_name: main
  4. # if you change the class configuration, please also alter the sonata_user.yml file
  5. user_class: Chamilo\UserBundle\Entity\User
  6. group:
  7. group_class: Chamilo\UserBundle\Entity\Group
  8. group_manager: sonata.user.orm.group_manager
  9. service:
  10. user_manager: sonata.user.orm.user_manager
  11. registration:
  12. form:
  13. type: fos_user_profile
  14. handler: fos_user.profile.form.handler.default
  15. name: fos_user_profile_form
  16. validation_groups: [ProfileCustom]
  17. profile:
  18. form:
  19. type: fos_user_profile
  20. handler: fos_user.profile.form.handler.default
  21. name: fos_user_profile_form
  22. validation_groups: [ProfileCustom]