|
|
@@ -303,6 +303,7 @@ public class KeycloakServiceImpl implements KeycloakService {
|
|
|
userRepresentation.setGroups(Collections.singletonList(user.getTenant()));
|
|
|
userRepresentation.setEnabled(Boolean.TRUE);
|
|
|
userRepresentation.setCredentials(user.getCredentials());
|
|
|
+ userRepresentation.setEmail(user.getEmail());
|
|
|
userRepresentation.setFirstName(user.getName());
|
|
|
if(Objects.nonNull(getUserIdByName(userRepresentation.getUsername()))){
|
|
|
return SingleResponse.buildFailure("400","该用户名已存在!");
|