fixed a regression where Tachiyomi could not retrieve pages without sessions

This commit is contained in:
Gauthier Roebroeck 2019-08-28 09:08:10 +08:00
parent c5ec1c55a9
commit 7ca2880fb9

View file

@ -11,7 +11,6 @@ import org.springframework.security.config.annotation.web.builders.HttpSecurity
import org.springframework.security.config.annotation.web.builders.WebSecurity
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
import org.springframework.security.config.http.SessionCreationPolicy
import org.springframework.web.cors.CorsConfiguration
import org.springframework.web.cors.UrlBasedCorsConfigurationSource
@ -42,7 +41,6 @@ class SecurityConfiguration(
.and().headers().frameOptions().sameOrigin()
.and().httpBasic()
.and().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS)
}
override fun configure(web: WebSecurity) {