Merge branch '2.4' of github.com:MISP/MISP into misp-stix

misp-stix
chrisr3d 2021-11-10 19:03:11 +01:00
commit c9d7ad2462
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."));