mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-02 19:27:57 +08:00
remove "if (webConfig.getInvalidateHttpSessionOnLogout())" case in module web6 in class com.haulmont.cuba.web.DefaultApp. #PL-2871
This commit is contained in:
parent
3b3889cdaf
commit
48dd387c1b
@ -153,33 +153,22 @@ public class DefaultApp extends App implements ConnectionListener {
|
||||
afterLoggedIn();
|
||||
} else {
|
||||
log.debug("Closing all windows");
|
||||
cleanupBackgroundTasks();
|
||||
getTimers().stopAll();
|
||||
|
||||
if (webConfig.getInvalidateHttpSessionOnLogout()) {
|
||||
cleanupBackgroundTasks();
|
||||
getTimers().stopAll();
|
||||
closeAllWindows();
|
||||
|
||||
closeAllWindows();
|
||||
String name = currentWindowName.get();
|
||||
if (name == null)
|
||||
name = createWindowName(false);
|
||||
|
||||
this.close();
|
||||
} else {
|
||||
cleanupBackgroundTasks();
|
||||
getTimers().stopAll();
|
||||
Window window = createLoginWindow();
|
||||
window.setName(name);
|
||||
setMainWindow(window);
|
||||
|
||||
closeAllWindows();
|
||||
currentWindowName.set(window.getName());
|
||||
|
||||
String name = currentWindowName.get();
|
||||
if (name == null) {
|
||||
name = createWindowName(false);
|
||||
}
|
||||
|
||||
Window window = createLoginWindow();
|
||||
window.setName(name);
|
||||
setMainWindow(window);
|
||||
|
||||
currentWindowName.set(window.getName());
|
||||
|
||||
initExceptionHandlers(false);
|
||||
}
|
||||
initExceptionHandlers(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user