Skip to content

Commit

Permalink
Other clients but Account-Management can link account
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Leppelt <[email protected]>
Signed-off-by: ch-lepp <[email protected]>
  • Loading branch information
ch-lepp authored and ch-lepp committed Dec 9, 2024
1 parent 0e1a62f commit b1b053d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ private AuthenticationSessionModel parseSessionCode(String code, String clientId

private Response checkAccountManagementFailedLinking(AuthenticationSessionModel authSession, String error, Object... parameters) {
UserSessionModel userSession = new AuthenticationSessionManager(session).getUserSession(authSession);
if (userSession != null && authSession.getClient() != null && authSession.getClient().getClientId().equals(Constants.ACCOUNT_MANAGEMENT_CLIENT_ID)) {
if (userSession != null && authSession.getClient() != null) {

this.event.event(EventType.FEDERATED_IDENTITY_LINK);
UserModel user = userSession.getUser();
Expand Down

0 comments on commit b1b053d

Please sign in to comment.