Skip to content

Commit

Permalink
fixed user not logged out after password change
Browse files Browse the repository at this point in the history
  • Loading branch information
albogdano committed Jul 7, 2021
1 parent cfd6405 commit 69b0f1d
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -95,6 +95,7 @@ public String post(@RequestParam(required = false) String tags, @RequestParam(re
}

if (resetPasswordAndUpdate(authUser.getUser(), oldpassword, newpassword)) {
utils.clearSession(req, res);
return "redirect:" + SETTINGSLINK + "?passChanged=true";
}
}
Expand Down

0 comments on commit 69b0f1d

Please sign in to comment.