From 1b47b669ffa97dd5e5a2bc4e25b9b861fcaac61e Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Thu, 8 Dec 2022 11:32:26 +0100 Subject: [PATCH] fix: [users:view] Fallback value if Keycloak was never configured --- 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 62b1693..6e40d29 100644 --- a/src/Controller/UsersController.php +++ b/src/Controller/UsersController.php @@ -150,7 +150,7 @@ class UsersController extends AppController if (!empty($responsePayload)) { return $responsePayload; } - $this->set('keycloakConfig', Configure::read('keycloak')); + $this->set('keycloakConfig', Configure::read('keycloak', ['enabled' => false])); $this->set('metaGroup', $this->isAdmin ? 'Administration' : 'Cerebrate'); }