mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
parent
0d642bd394
commit
6c4eafda32
|
@ -110,7 +110,7 @@ class RequestPasswordResetHandler
|
|||
];
|
||||
|
||||
$body = $this->translator->trans('core.email.reset_password.body', $data);
|
||||
$subject = '['.$data['forum'].'] '.$this->translator->trans('core.email.reset_password.subject');
|
||||
$subject = $this->translator->trans('core.email.reset_password.subject');
|
||||
|
||||
$this->queue->push(new SendRawEmailJob($user->email, $subject, $body));
|
||||
|
||||
|
|
|
@ -52,7 +52,7 @@ class EmailConfirmationMailer
|
|||
$data = $this->getEmailData($event->user, $email);
|
||||
|
||||
$body = $this->translator->trans('core.email.confirm_email.body', $data);
|
||||
$subject = '['.$data['forum'].'] '.$this->translator->trans('core.email.confirm_email.subject');
|
||||
$subject = $this->translator->trans('core.email.confirm_email.subject');
|
||||
|
||||
$this->queue->push(new SendRawEmailJob($email, $subject, $body));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user