|
@@ -496,7 +496,7 @@ public class MyCustomDsl extends AbstractHttpConfigurer<MyCustomDsl, HttpSecurit
|
|
|
public void init(HttpSecurity http) {
|
|
public void init(HttpSecurity http) {
|
|
|
// any method that adds another configurer
|
|
// any method that adds another configurer
|
|
|
// must be done in the init method
|
|
// must be done in the init method
|
|
|
- http.csrf().disable();
|
|
|
|
|
|
|
+ http.csrf(csrf -> csrf.disable());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|