fix: [email OTP] subject tag fixed

- [MISP foo] to [foo MISP] to be aligned with other e-mails
pull/7976/head
iglocska 2021-11-10 11:21:07 +01:00
parent 7283c8183a
commit fb6408dd4f
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -1792,7 +1792,7 @@ class UsersController extends AppController
// Fetch user that contains also PGP or S/MIME keys for e-mail encryption
$userForSendMail = $this->User->getUserById($user_id);
$body = str_replace('\n', PHP_EOL, $body);
$result = $this->User->sendEmail($userForSendMail, $body, false, "[MISP " . Configure::read('MISP.org') . "] Email OTP");
$result = $this->User->sendEmail($userForSendMail, $body, false, "[" . Configure::read('MISP.org') . " MISP] Email OTP");
if ($result) {
$this->Flash->success(__("An email containing a OTP has been sent."));