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