Update LogoutEndpoint.java

上级 2fd76ce9
...@@ -72,7 +72,7 @@ public class LogoutEndpoint { ...@@ -72,7 +72,7 @@ public class LogoutEndpoint {
ModelAndView modelAndView = new ModelAndView(); ModelAndView modelAndView = new ModelAndView();
authenticationRealm.logout(response); authenticationRealm.logout(response);
if(reLoginUrl!=null){ if(reLoginUrl==null){
SavedRequest firstSavedRequest = (SavedRequest)WebContext.getAttribute(WebConstants.FIRST_SAVED_REQUEST_PARAMETER); SavedRequest firstSavedRequest = (SavedRequest)WebContext.getAttribute(WebConstants.FIRST_SAVED_REQUEST_PARAMETER);
reLoginUrl=WebContext.getHttpContextPath()+"/login"; reLoginUrl=WebContext.getHttpContextPath()+"/login";
if(firstSavedRequest!=null){ if(firstSavedRequest!=null){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册