From fe500e9796a6004b2c1e8513a08f4440d56979d1 Mon Sep 17 00:00:00 2001 From: iglocska Date: Thu, 21 Oct 2021 13:45:24 +0200 Subject: [PATCH] fix: [settings] self registration setting path fixed --- templates/Users/login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/Users/login.php b/templates/Users/login.php index d5cab0e..1f62282 100644 --- a/templates/Users/login.php +++ b/templates/Users/login.php @@ -24,7 +24,7 @@ use Cake\Core\Configure; echo $this->Form->control('password', ['type' => 'password', 'label' => 'Password', 'class' => 'form-control mb-3', 'placeholder' => __('Password')]); echo $this->Form->control(__('Login'), ['type' => 'submit', 'class' => 'btn btn-primary']); echo $this->Form->end(); - if (!empty(Configure::read('Cerebrate')['security.registration.self-registration'])) { + if (!empty(Configure::read('security.registration.self-registration'))) { echo '
'; echo sprintf('%s %s', __('Doesn\'t have an account?'), __('Sign up')); echo '
'; @@ -55,4 +55,4 @@ use Cake\Core\Configure; echo $this->Form->end(); } ?> - \ No newline at end of file +