James Moger
2013-11-20 aa6d43e8b28ff73d69a920e9b3a7b284cfce00c3
src/main/java/com/gitblit/GitBlitServer.java
@@ -340,7 +340,7 @@
      HashSessionManager sessionManager = new HashSessionManager();
      sessionManager.setHttpOnly(true);
      // Use secure cookies if only serving https
      sessionManager.setSecureCookies(params.port <= 0 && params.securePort > 0);
      sessionManager.setSecureRequestOnly(params.port <= 0 && params.securePort > 0);
      rootContext.getSessionHandler().setSessionManager(sessionManager);
      // Ensure there is a defined User Service
@@ -409,9 +409,8 @@
         rootContext.setHandler(sh);
      }
      // Setup the GitBlit context
      // Setup the Gitblit context
      GitBlit gitblit = newGitblit(settings, baseFolder);
      gitblit.configureContext(settings, baseFolder, true);
      rootContext.addEventListener(gitblit);
      try {