Skip to content

Commit

Permalink
Add back missing mereged codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhangxinguo committed May 26, 2017
1 parent 1a0b797 commit c7c139a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ public void doFilter(final ServletRequest request, final ServletResponse respons
}
}

private void authenticateSuccess(final HttpServletResponse response, boolean isGuset) {
private void authenticateSuccess(final HttpServletResponse response, boolean isGuest) {
response.setStatus(200);
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-store");
response.setDateHeader("Expires", 0);
response.setHeader("identify", true == isGuset ? GUEST : ROOT);
response.setHeader("identify", true == isGuest ? GUEST : ROOT);
}

private void needAuthenticate(final HttpServletRequest request, final HttpServletResponse response) {
Expand Down

0 comments on commit c7c139a

Please sign in to comment.