fosuserbundleで確認メールのテンプレートを変更するにはどうすればよいですか?
-
27-10-2019 - |
質問
Fosuserbundleで確認メールのテンプレートを変更する必要があります。私はこの設定を持っていますが、それは機能しません:
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
エラーは次のとおりです。
Unrecognized options "email" under "fos_user.registration"
解決
確認メールテンプレートを意味しますか?
confirmation:
enabled: true
template: MgpAppBundle:Registration:email.txt.twig
所属していません StackOverflow