Skip to content

Commit 78b7c8c

Browse files
changed SecurityConfig.java
1 parent 249ce00 commit 78b7c8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/hexlet/code/config/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ SecurityFilterChain securityFilterChain(HttpSecurity http, HandlerMappingIntrosp
3232
throws Exception {
3333

3434
return http
35-
.csrf(csrf -> csrf.disable())
35+
//.csrf(csrf -> csrf.disable())
3636
.authorizeHttpRequests(auth -> auth
3737
.requestMatchers(
3838
"/",

0 commit comments

Comments
 (0)