mirror of
https://github.com/gotson/komga.git
synced 2025-12-21 16:03:03 +01:00
fixed a regression where Tachiyomi could not retrieve pages without sessions
This commit is contained in:
parent
c5ec1c55a9
commit
7ca2880fb9
1 changed files with 0 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue