disbale create admin user

This commit is contained in:
Moriz Wahl 2021-11-30 08:51:40 +01:00
parent 0d2cf7da48
commit 50e98bdc46

View File

@ -16,7 +16,7 @@ class ServerUsersController extends AppController
{
parent::initialize();
// uncomment in devmode to add new community server admin user, but don't!!! commit it
$this->Auth->allow(['add', 'edit']);
// $this->Auth->allow(['add', 'edit']);
$this->Auth->deny('index');
}