fix: [users:view] Fallback value if Keycloak was never configured
parent
561f6d1c77
commit
1b47b669ff
|
@ -150,7 +150,7 @@ class UsersController extends AppController
|
||||||
if (!empty($responsePayload)) {
|
if (!empty($responsePayload)) {
|
||||||
return $responsePayload;
|
return $responsePayload;
|
||||||
}
|
}
|
||||||
$this->set('keycloakConfig', Configure::read('keycloak'));
|
$this->set('keycloakConfig', Configure::read('keycloak', ['enabled' => false]));
|
||||||
$this->set('metaGroup', $this->isAdmin ? 'Administration' : 'Cerebrate');
|
$this->set('metaGroup', $this->isAdmin ? 'Administration' : 'Cerebrate');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue