mirror of https://github.com/MISP/MISP
fix: [email OTP] subject tag fixed
- [MISP foo] to [foo MISP] to be aligned with other e-mailspull/7976/head
parent
7283c8183a
commit
fb6408dd4f
|
@ -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."));
|
||||
|
|
Loading…
Reference in New Issue