Skip to content
Snippets Groups Projects
Commit d06436e5 authored by srosse's avatar srosse
Browse files

Merge remote-tracking branch 'origin/OpenOLAT_15.0'

parents 8e97a29e 29d77a20
No related branches found
No related tags found
No related merge requests found
...@@ -280,7 +280,13 @@ public class RESTDispatcher implements Dispatcher { ...@@ -280,7 +280,13 @@ public class RESTDispatcher implements Dispatcher {
// session). Only create the base chief controller and the window // session). Only create the base chief controller and the window
setBusinessPathInUserSession(usess, businessPath, ureq.getParameter(WINDOW_SETTINGS)); setBusinessPathInUserSession(usess, businessPath, ureq.getParameter(WINDOW_SETTINGS));
ChiefController cc = AuthHelper.createAuthHome(ureq); ChiefController cc = AuthHelper.createAuthHome(ureq);
Window currentWindow = cc.getWindow();
currentWindow.setUriPrefix(WebappHelper.getServletContextPath() + DispatcherModule.PATH_AUTHENTICATED);
Windows.getWindows(ureq).registerWindow(cc);
ureq.overrideWindowComponentID(currentWindow.getDispatchID());
url = getRedirectToURL(cc); url = getRedirectToURL(cc);
if(usess != null && !ureq.getHttpReq().isRequestedSessionIdFromCookie()) { if(usess != null && !ureq.getHttpReq().isRequestedSessionIdFromCookie()) {
url += ";jsessionid=" + usess.getSessionInfo().getSession().getId(); url += ";jsessionid=" + usess.getSessionInfo().getSession().getId();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment