Merge pull request #1072 from gradido/community_fix_server-users

fix open community server user account creation
This commit is contained in:
einhornimmond 2021-11-01 21:20:32 +01:00 committed by GitHub
commit abad07ce54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');
}