James Moger
2013-11-20 bdfdc9c65c5eb2786b7dd8e33ba8a12a3bafe86d
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 {