fix : 시큐리티 수정
This commit is contained in:
parent
ff52122ea2
commit
ddcb46dae9
@ -37,7 +37,7 @@ public class SecurityConfig {
|
|||||||
* JWT 인증 방식을 사용하고 세션은 무상태로 관리
|
* JWT 인증 방식을 사용하고 세션은 무상태로 관리
|
||||||
*/
|
*/
|
||||||
@Bean
|
@Bean
|
||||||
public SecurityFilterChain filterChain(HttpSecurity http, ConditionsReportEndpoint conditionsReportEndpoint) throws Exception {
|
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
|
||||||
http
|
http
|
||||||
.csrf(csrf -> csrf.disable())
|
.csrf(csrf -> csrf.disable())
|
||||||
.cors(cors -> cors.configurationSource(corsConfigurationSource))
|
.cors(cors -> cors.configurationSource(corsConfigurationSource))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user