|
@@ -84,8 +84,7 @@ public class LoginController {
|
|
|
//log.error("getLogin3: session, {}", session.toString());
|
|
|
session.invalidate(); // session remove
|
|
|
}
|
|
|
- //return new ModelAndView("forward:/application/login/login.html");
|
|
|
- return new ModelAndView("redirect:/application/login/login.html");
|
|
|
+ return new ModelAndView("redirect:" + WebConstants.LOGIN_PAGE_URI);
|
|
|
}
|
|
|
|
|
|
public String getSessionUserId(HttpServletRequest request) {
|
|
@@ -183,7 +182,7 @@ public class LoginController {
|
|
|
session.invalidate(); // session remove
|
|
|
}
|
|
|
new SecurityContextLogoutHandler().logout(request, response, SecurityContextHolder.getContext().getAuthentication());
|
|
|
- return new ModelAndView("redirect:/application/login/login.html");
|
|
|
+ return new ModelAndView("redirect:" + WebConstants.LOGIN_PAGE_URI);
|
|
|
}
|
|
|
|
|
|
private void expiredCookie(HttpServletResponse response, String cookieName) {
|