Remove ServerHttpSecurity duplicate build

WebFluxSecurityConfiguration invoked build twice
which caused each WebFilter to be added twice

Fixes gh-4711
This commit is contained in:
Rob Winch 2017-10-26 19:46:03 -05:00
parent aa734103c4
commit 36501f4530
1 changed files with 1 additions and 2 deletions

View File

@ -68,8 +68,7 @@ public class WebFluxSecurityConfiguration {
.anyExchange().authenticated()
.and()
.httpBasic().and()
.formLogin().and()
.build();
.formLogin();
return Arrays.asList(http.build());
}
}