fix: [OTP] identifier tag fixed

- was hard coded to [MISP]
pull/7459/head
iglocska 2021-05-26 08:36:05 +02:00
parent 38cf3b0620
commit 72ccba98eb
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -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."));