mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +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,24 +153,14 @@ public class DefaultApp extends App implements ConnectionListener {
|
||||
afterLoggedIn();
|
||||
} else {
|
||||
log.debug("Closing all windows");
|
||||
|
||||
if (webConfig.getInvalidateHttpSessionOnLogout()) {
|
||||
cleanupBackgroundTasks();
|
||||
getTimers().stopAll();
|
||||
|
||||
closeAllWindows();
|
||||
|
||||
this.close();
|
||||
} else {
|
||||
cleanupBackgroundTasks();
|
||||
getTimers().stopAll();
|
||||
|
||||
closeAllWindows();
|
||||
|
||||
String name = currentWindowName.get();
|
||||
if (name == null) {
|
||||
if (name == null)
|
||||
name = createWindowName(false);
|
||||
}
|
||||
|
||||
Window window = createLoginWindow();
|
||||
window.setName(name);
|
||||
@ -181,7 +171,6 @@ public class DefaultApp extends App implements ConnectionListener {
|
||||
initExceptionHandlers(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform actions after success login
|
||||
|
Loading…
Reference in New Issue
Block a user