mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
disbale create admin user
This commit is contained in:
parent
0d2cf7da48
commit
50e98bdc46
@ -16,7 +16,7 @@ class ServerUsersController extends AppController
|
|||||||
{
|
{
|
||||||
parent::initialize();
|
parent::initialize();
|
||||||
// uncomment in devmode to add new community server admin user, but don't!!! commit it
|
// 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');
|
$this->Auth->deny('index');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user