109a776c by Adam Heath

Make the authToken available as sessionId to called services.

Refs: #8779
1 parent e6c992a5
...@@ -454,8 +454,11 @@ public class DirectControlServlet extends HttpServlet { ...@@ -454,8 +454,11 @@ public class DirectControlServlet extends HttpServlet {
454 dispatcher.runSync(checkSessionService, checkSessionServiceContext); 454 dispatcher.runSync(checkSessionService, checkSessionServiceContext);
455 } 455 }
456 } 456 }
457 } else {
458 authToken = null;
457 } 459 }
458 } 460 }
461 context.put("sessionId", authToken);
459 462
460 Debug.logInfo("USERLOGIN " + context.get("userLogin") + " AUTHTOKEN " + authToken, module); 463 Debug.logInfo("USERLOGIN " + context.get("userLogin") + " AUTHTOKEN " + authToken, module);
461 464
......