mirror of https://github.com/MISP/MISP
parent
7f6f166838
commit
6ef3ea7050
|
@ -234,6 +234,7 @@ class UsersController extends AppController {
|
|||
//debug($fields);debug(tru);
|
||||
$this->set('currentOrg', $this->Auth->User('org'));
|
||||
$this->User->id = $id;
|
||||
$this->set('currentId', $id);
|
||||
if (!$this->User->exists()) {
|
||||
throw new NotFoundException(__('Invalid user'));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue