How can I change template of confirmation email in FOSUserBundle?
-
27-10-2019 - |
سؤال
I need to change template of confirmation email in FOSUserBundle. I have this settings, but it doesn't work:
fos_user:
db_driver: orm
firewall_name: main
user_class: Acme\UserBundle\Entity\User
registration:
confirmation:
enabled: true
email:
template: AcmeUserBundle:User:confirm.email.twig
Error is:
Unrecognized options "email" under "fos_user.registration"
المحلول
Do you mean confirmation email template?
confirmation:
enabled: true
template: MgpAppBundle:Registration:email.txt.twig
لا تنتمي إلى StackOverflow