mirror of https://github.com/MISP/MISP
fix: [log] filter user logs on user_id not email
parent
bdda94529d
commit
9d51d143bb
|
@ -80,7 +80,7 @@ class LogsController extends AppController
|
|||
$conditions['Log.org'] = $orgRestriction;
|
||||
} else {
|
||||
// users can see their own info
|
||||
$conditions['Log.email'] = $this->Auth->user('email');
|
||||
$conditions['Log.user_id'] = $this->Auth->user('id');
|
||||
}
|
||||
}
|
||||
$params = array(
|
||||
|
|
Loading…
Reference in New Issue