Update app/workers/certificates.php
Co-authored-by: Eldad A. Fux <eldad.fux@gmail.com>
This commit is contained in:
parent
5d195659bd
commit
ea241ceaf5
1 changed files with 4 additions and 4 deletions
|
@ -385,10 +385,10 @@ class CertificatesV1 extends Worker
|
||||||
|
|
||||||
$body = Template::fromFile(__DIR__ . '/../config/locale/templates/email-base.tpl');
|
$body = Template::fromFile(__DIR__ . '/../config/locale/templates/email-base.tpl');
|
||||||
|
|
||||||
$subject = \sprintf($locale->getText("emails.certificate.subject"), $domain);
|
$subject = \sprintf($locale->getText("emails.certificate.subject"), $domain);
|
||||||
$body->setParam('{{domain}}', $domain);
|
$body->setParam('{{domain}}', $domain);
|
||||||
$body->setParam('{{error}}', $errorMessage);
|
$body->setParam('{{error}}', $errorMessage);
|
||||||
$body->setParam('{{attempt}}', $attempt);
|
$body->setParam('{{attempt}}', $attempt);
|
||||||
|
|
||||||
$body
|
$body
|
||||||
->setParam('{{subject}}', $subject)
|
->setParam('{{subject}}', $subject)
|
||||||
|
|
Loading…
Reference in a new issue