mirror of https://github.com/MISP/MISP
Users weren't able to change the contactalert field
parent
b568c60cc2
commit
4056e163c1
|
@ -68,7 +68,7 @@ class UsersController extends AppController {
|
|||
}
|
||||
if ($this->request->is('post') || $this->request->is('put')) {
|
||||
// What fields should be saved (allowed to be saved)
|
||||
$fieldList = array('email', 'autoalert', 'gpgkey', 'nids_sid' );
|
||||
$fieldList = array('email', 'autoalert', 'gpgkey', 'nids_sid', 'contactalert');
|
||||
if ("" != $this->request->data['User']['password'])
|
||||
$fieldList[] = 'password';
|
||||
// Save the data
|
||||
|
|
Loading…
Reference in New Issue