Update# use dot to namespace templates
This commit is contained in:
parent
ba3f35f8b8
commit
649480c403
|
|
@ -257,9 +257,9 @@ class RegisterController extends Controller {
|
||||||
'link' => $link,
|
'link' => $link,
|
||||||
'sitename' => $this->defaults->getName()
|
'sitename' => $this->defaults->getName()
|
||||||
];
|
];
|
||||||
$html_template = new TemplateResponse('registration', 'email_html', $template_var, 'blank');
|
$html_template = new TemplateResponse('registration', 'email.validate_html', $template_var, 'blank');
|
||||||
$html_part = $html_template->render();
|
$html_part = $html_template->render();
|
||||||
$plaintext_template = new TemplateResponse('registration', 'email_plaintext', $template_var, 'blank');
|
$plaintext_template = new TemplateResponse('registration', 'email.validate_plaintext', $template_var, 'blank');
|
||||||
$plaintext_part = $plaintext_template->render();
|
$plaintext_part = $plaintext_template->render();
|
||||||
$subject = $this->l10n->t('Verify your %s registration request', [$this->defaults->getName()]);
|
$subject = $this->l10n->t('Verify your %s registration request', [$this->defaults->getName()]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue