fix: [behavior:authKeycloak] Correctly check if the user was saved
parent
96041cc71a
commit
c65978f8f2
|
@ -115,7 +115,7 @@ class AuthKeycloakBehavior extends Behavior
|
||||||
foreach ($roles as $role) {
|
foreach ($roles as $role) {
|
||||||
$rolesParsed[$role['name']] = $role['id'];
|
$rolesParsed[$role['name']] = $role['id'];
|
||||||
}
|
}
|
||||||
if ($this->createUser($user, $clientId, $rolesParsed)) {
|
if (!$this->createUser($user, $clientId, $rolesParsed)) {
|
||||||
$logChange = [
|
$logChange = [
|
||||||
'username' => $user['username'],
|
'username' => $user['username'],
|
||||||
'individual_id' => $user['individual']['id'],
|
'individual_id' => $user['individual']['id'],
|
||||||
|
|
Loading…
Reference in New Issue