Skip to content

Commit

Permalink
delete the dump forbidden method
Browse files Browse the repository at this point in the history
  • Loading branch information
liberhe committed Dec 19, 2023
1 parent 9abef51 commit ec0f8e8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
SessionUserInfo sessionUserInfo = HttpSessionUtils.getMember(request.getSession());
UserPrincipleData userPrinciple = new UserPrincipleData();

if(!sessionUserInfo.getAddress().equals(addressInHeader)) {
dumpForbidden(response);
return;
}
// if(!sessionUserInfo.getAddress().equals(addressInHeader)) {
// dumpForbidden(response);
// return;
// }
userPrinciple.setAddress(sessionUserInfo.getAddress());
List<TeamMember> teams = loadTeams(sessionUserInfo.getAddress());
userPrinciple.setTeams(teams);
Expand Down

0 comments on commit ec0f8e8

Please sign in to comment.