Skip to content

Commit

Permalink
Merge pull request #8644 from IQSS/8643-email-change
Browse files Browse the repository at this point in the history
remove session.setUser(pre-save user) on email change #8643
  • Loading branch information
kcondon committed Apr 25, 2022
2 parents 92a14a8 + 124c4b2 commit e713194
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ public String save() {
} catch (ConfirmEmailException ex) {
logger.log(Level.INFO, "Unable to send email confirmation link to user id {0}", savedUser.getId());
}
session.setUser(currentUser);
JsfHelper.addSuccessMessage(BundleUtil.getStringFromBundle("confirmEmail.changed", args));
} else {
JsfHelper.addFlashMessage(msg.toString());
Expand Down

0 comments on commit e713194

Please sign in to comment.