mirror of https://github.com/MISP/MISP
Merge branch 'develop' of github.com:MISP/MISP into develop
commit
9349a6b3bb
|
@ -698,6 +698,9 @@ class UsersController extends AppController
|
|||
if (!isset($this->request->data['User']['disabled'])) {
|
||||
$this->request->data['User']['disabled'] = false;
|
||||
}
|
||||
if (Configure::read('CustomAuth_enable') && Configure::read('CustomAuth_required')) {
|
||||
$this->request->data['User']['change_pw'] = 0;
|
||||
}
|
||||
$this->request->data['User']['newsread'] = 0;
|
||||
if (!$this->_isSiteAdmin()) {
|
||||
$this->request->data['User']['org_id'] = $this->Auth->user('org_id');
|
||||
|
|
Loading…
Reference in New Issue