dissallow user creation

This commit is contained in:
Dario Rekowski on RockPI 2019-12-03 09:58:52 +00:00
parent 52c433ccc4
commit 6ed50a146c

View File

@ -15,7 +15,7 @@ class ServerUsersController extends AppController
public function initialize() public function initialize()
{ {
parent::initialize(); parent::initialize();
$this->Auth->allow(['add', 'edit']); //$this->Auth->allow(['add', 'edit']);
$this->Auth->deny('index'); $this->Auth->deny('index');
} }