Restore matchIfMissing attribute
Restore accidentally deleted `matchIfMissing` attribute. See gh-43704
This commit is contained in:
parent
b448d5e0a7
commit
bd3663748b
|
@ -170,7 +170,7 @@ public class WebMvcAutoConfiguration {
|
|||
|
||||
@Bean
|
||||
@ConditionalOnMissingBean(FormContentFilter.class)
|
||||
@ConditionalOnBooleanProperty("spring.mvc.formcontent.filter.enabled")
|
||||
@ConditionalOnBooleanProperty(name = "spring.mvc.formcontent.filter.enabled", matchIfMissing = true)
|
||||
public OrderedFormContentFilter formContentFilter() {
|
||||
return new OrderedFormContentFilter();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue