From b6c3aee91f2475488c7c7a1f29756c21ca84dbe5 Mon Sep 17 00:00:00 2001 From: iglocska Date: Thu, 21 Oct 2021 13:44:49 +0200 Subject: [PATCH] fix: [settings] invalid path to setting fixed --- src/Controller/UsersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/UsersController.php b/src/Controller/UsersController.php index d2235a6..e5258d0 100644 --- a/src/Controller/UsersController.php +++ b/src/Controller/UsersController.php @@ -162,7 +162,7 @@ class UsersController extends AppController public function register() { - if (empty(Configure::read('Cerebrate')['security.registration.self-registration'])) { + if (empty(Configure::read('security.registration.self-registration'))) { throw new UnauthorizedException(__('User self-registration is not open.')); } if ($this->request->is('post')) {