Skip to content

Commit

Permalink
remove unnecessary variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus-Osuna-M committed Jun 23, 2023
1 parent 0dac4ee commit bd50b4a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rundeckapp/grails-app/conf/spring/resources.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -864,10 +864,8 @@ beans={
initParams = configParams?.toProperties()?.collectEntries {
[it.key.toString(), it.value.toString()]
}
def stsMaxAgeSecondsConfig = grailsApplication.config.getProperty("rundeck.web.jetty.servlet.stsMaxAgeSeconds",Integer.class)
def stsIncludeSubdomainsConfig = grailsApplication.config.getProperty("rundeck.web.jetty.servlet.stsIncludeSubdomains",Boolean.class)
stsMaxAgeSeconds = stsMaxAgeSecondsConfig
stsIncludeSubdomains = stsIncludeSubdomainsConfig
stsMaxAgeSeconds = grailsApplication.config.getProperty("rundeck.web.jetty.servlet.stsMaxAgeSeconds",Integer.class,-1)
stsIncludeSubdomains = grailsApplication.config.getProperty("rundeck.web.jetty.servlet.stsIncludeSubdomains",Boolean.class,false)

useForwardHeaders = useForwardHeadersConfig ?: Boolean.getBoolean('rundeck.jetty.connector.forwarded')
}
Expand Down

0 comments on commit bd50b4a

Please sign in to comment.