From 5b6d73c8ee8fa7001632db276ff6be595b36f616 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Sun, 31 Oct 2021 20:45:06 +0100 Subject: [PATCH] hotfix --- community_server/src/Controller/ServerUsersController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/community_server/src/Controller/ServerUsersController.php b/community_server/src/Controller/ServerUsersController.php index 236e35b7f..c07808641 100644 --- a/community_server/src/Controller/ServerUsersController.php +++ b/community_server/src/Controller/ServerUsersController.php @@ -15,7 +15,8 @@ class ServerUsersController extends AppController public function initialize() { parent::initialize(); - $this->Auth->allow(['add', 'edit']); + // uncomment in devmode to add new community server admin user, but don't!!! commit it + //$this->Auth->allow(['add', 'edit']); $this->Auth->deny('index'); }