Skip to content

Commit

Permalink
check style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gs-saurabh authored Oct 16, 2024
1 parent c6c2a89 commit 9c6b46b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ public void run(org.finos.legend.server.shared.staticserver.StaticServerConfigur
makeSessionCookieSecure(environment.getApplicationContext().getServletContext());
}

private void makeSessionCookieSecure( ContextHandler.Context servletContext)
private void makeSessionCookieSecure(ContextHandler.Context servletContext)
{
SessionCookieConfig sessionCookieConfig = servletContext.getSessionCookieConfig();
if(sessionCookieConfig != null)
if (sessionCookieConfig != null)
{
sessionCookieConfig.setSecure(true);
sessionCookieConfig.setHttpOnly(true);
Expand Down

0 comments on commit 9c6b46b

Please sign in to comment.