fix: [users:view] Fallback value if Keycloak was never configured

pull/121/head
Sami Mokaddem 2022-12-08 11:32:26 +01:00
parent 561f6d1c77
commit 1b47b669ff
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

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