Skip to content

Commit

Permalink
Bugfix for wrong account linking
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Nov 22, 2023
1 parent c7f2502 commit 155dae4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ private ResponseEntity<Object> saveOrUpdateLinkedAccountToUser(User user,
user.setGivenName(givenName);
}
if (StringUtils.hasText(familyName)) {
user.setGivenName(familyName);
user.setFamilyName(familyName);
}
}
String action = optionalLinkedAccount.isPresent() ? "updated" : "add";
Expand Down

0 comments on commit 155dae4

Please sign in to comment.