mirror of https://github.com/MISP/MISP
parent
38cf3b0620
commit
72ccba98eb
|
@ -1785,7 +1785,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] Email OTP");
|
||||
$result = $this->User->sendEmail($userForSendMail, $body, false, "[MISP " . Configure::read('MISP.org') . "] Email OTP");
|
||||
|
||||
if ($result) {
|
||||
$this->Flash->success(__("An email containing a OTP has been sent."));
|
||||
|
|
Loading…
Reference in New Issue