fix: [minor fixes] with the keycloak integration
parent
8a6f0ed751
commit
61cda0af33
|
@ -134,8 +134,7 @@ class AuthKeycloakBehavior extends Behavior
|
|||
'headers' => [
|
||||
'Content-Type' => 'application/json',
|
||||
'Authorization' => 'Bearer ' . $token
|
||||
],
|
||||
'ssl_verify_peer' => false
|
||||
]
|
||||
]
|
||||
);
|
||||
$logChange = [
|
||||
|
|
|
@ -398,7 +398,7 @@ class CerebrateSettingValidator extends SettingValidator
|
|||
$foundEnabledAuth = __('Cannot make change - this would disable every possible authentication method.');
|
||||
foreach ($providers as $provider) {
|
||||
if ($provider !== $setting['authentication_type']) {
|
||||
if (Configure::read($provider . '.enable')) {
|
||||
if (Configure::read($provider . '.enabled')) {
|
||||
$foundEnabledAuth = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue