fix: [settings] invalid path to setting fixed

pull/79/head
iglocska 2021-10-21 13:44:49 +02:00
parent 9f269f683e
commit b6c3aee91f
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -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')) {