Skip to content

Commit

Permalink
CLDR-16838 Login bug: removeLoginCookies instead of exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
btangmu committed Nov 15, 2023
1 parent 393d030 commit d95d6df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,8 @@ public void setSession() {
final String jwtId = klm.getSubject(jwt);
if (jwtId != null && !jwtId.isBlank() && !klm.jwtIsInExcludedSet(jwtId)) {
if (!email.isEmpty() && !password.isEmpty()) {
klm.addToExcludedSet(jwtId);
// klm.addToExcludedSet(jwtId);
removeLoginCookies(request, response);
} else {
User jwtInfo = CookieSession.sm.reg.getInfo(Integer.parseInt(jwtId));
if (jwtInfo != null) {
Expand Down

0 comments on commit d95d6df

Please sign in to comment.