mirror of https://github.com/MISP/MISP
fix: [user settings] fixed unlocking of API routes
parent
7b5374a81d
commit
13926c83eb
|
@ -28,7 +28,7 @@ class UserSettingsController extends AppController
|
||||||
public function beforeFilter()
|
public function beforeFilter()
|
||||||
{
|
{
|
||||||
parent::beforeFilter();
|
parent::beforeFilter();
|
||||||
$this->Security->unlockedActions = array('setHomePage');
|
$this->Security->unlockedActions = array_merge($this->Security->unlockedActions, array('setHomePage'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function index()
|
public function index()
|
||||||
|
|
Loading…
Reference in New Issue