fix: [user settings] fixed unlocking of API routes

pull/5635/head
iglocska 2020-03-02 00:43:07 +01:00
parent 7b5374a81d
commit 13926c83eb
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

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