diff options
author | James Moger <james.moger@gitblit.com> | 2013-11-16 08:49:20 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-11-26 16:07:04 -0500 |
commit | d65a6baca9a20461f976a2455d70eecc7faf2db5 (patch) | |
tree | 7f29d55fc017d01ed6c90ecaa490cbe35cccac67 /src/main/java/com/gitblit/GitBlitServer.java | |
parent | db4f6b5740c6ea45d9e2209dc569bc18904a8b4d (diff) | |
download | gitblit-d65a6baca9a20461f976a2455d70eecc7faf2db5.tar.gz gitblit-d65a6baca9a20461f976a2455d70eecc7faf2db5.zip |
Update to Jetty 8.1.13 for Servlet 3
Change-Id: If3f30af2ed250968e65cde58bd413213f4d384b1
Diffstat (limited to 'src/main/java/com/gitblit/GitBlitServer.java')
-rw-r--r-- | src/main/java/com/gitblit/GitBlitServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/GitBlitServer.java b/src/main/java/com/gitblit/GitBlitServer.java index ecb10011..292eec40 100644 --- a/src/main/java/com/gitblit/GitBlitServer.java +++ b/src/main/java/com/gitblit/GitBlitServer.java @@ -340,7 +340,7 @@ public class GitBlitServer { 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
|