Merge 9f689cff24
into 4f1835dc4c
commit
c0e67feb1b
|
@ -135,7 +135,7 @@ class UsersTable extends AppTable
|
|||
|
||||
private function initAuthBehaviors()
|
||||
{
|
||||
if (!empty(Configure::read('keycloak'))) {
|
||||
if (!empty(Configure::read('keycloak.enabled'))) {
|
||||
$this->addBehavior('AuthKeycloak');
|
||||
}
|
||||
}
|
||||
|
@ -289,7 +289,7 @@ class UsersTable extends AppTable
|
|||
|
||||
public function enrollUserRouter($data): void
|
||||
{
|
||||
if (!empty(Configure::read('keycloak'))) {
|
||||
if (!empty(Configure::read('keycloak.enabled'))) {
|
||||
$this->enrollUser($data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue