Users weren't able to change the contactalert field

pull/195/head
iglocska 2013-08-20 11:26:24 +02:00
parent b568c60cc2
commit 4056e163c1
1 changed files with 1 additions and 1 deletions

View File

@ -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