- 'mail_template' => '@@RapsysUser/mail/recover.html.twig',
- 'mail_context' => [
- 'title' => 'Title',
- 'subtitle' => 'Hi, %%name%%',
- 'subject' => 'Account recovered on %%title%%',
- 'raw' => 'Your account password has been changed, to recover your account you can follow this link: <a href="%%url%%">%%url%%</a>'
+ 'route' => ['index' => 'index_url', 'recover_mail' => 'recover_url'],
+ 'view' => [
+ 'name' => '@RapsysUser/form/recover_mail.html.twig',
+ 'form' => 'Rapsys\UserBundle\Form\RecoverMailType',
+ 'context' => []
+ ],
+ 'mail' => [
+ 'subject' => 'Welcome back!',
+ 'html' => '@RapsysUser/mail/recover_mail.html.twig',
+ 'text' => '@RapsysUser/mail/recover_mail.text.twig',
+ 'context' => []
+ ]
+ ],
+ 'register' => [
+ 'route' => ['index' => 'index_url'],
+ 'view' => [
+ 'form' => 'Rapsys\UserBundle\Form\RegisterType',
+ 'name' => '@RapsysUser/form/register.html.twig',
+ 'context' => []