Skip to content

Commit

Permalink
Fixed a bug that caused the login of new created users to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
MDeLuise authored and Coduz committed Aug 3, 2021
1 parent 661c223 commit e37795e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ protected void assertCredentialsMatch(AuthenticationToken authcToken, Authentica
}
Subject currentSubject = SecurityUtils.getSubject();
Session session = currentSubject.getSession();
session.setAttribute("scopeId", userId);
session.setAttribute("userId", scopeId);
session.setAttribute("scopeId", scopeId);
session.setAttribute("userId", userId);
}

@Override
Expand Down

0 comments on commit e37795e

Please sign in to comment.