pull/107/merge
DocArmoryTech 2024-12-02 06:59:29 +00:00 committed by GitHub
commit c0e67feb1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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