Skip to content

Commit

Permalink
Update WebServer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
jcardus authored Jul 5, 2021
1 parent 827a781 commit 979e44b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/traccar/web/WebServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ private void initSessionConfig(Config config, ServletContextHandler servletHandl
int sessionTimeout = config.getInteger(Keys.WEB_SESSION_TIMEOUT);
if (sessionTimeout > 0) {
servletHandler.getSessionHandler().setMaxInactiveInterval(sessionTimeout);

}

String sameSiteCookie = config.getString(Keys.WEB_SAME_SITE_COOKIE);
Expand Down

0 comments on commit 979e44b

Please sign in to comment.