Remove ServerHttpSecurity duplicate build
WebFluxSecurityConfiguration invoked build twice which caused each WebFilter to be added twice Fixes gh-4711
This commit is contained in:
parent
aa734103c4
commit
36501f4530
|
@ -68,8 +68,7 @@ public class WebFluxSecurityConfiguration {
|
||||||
.anyExchange().authenticated()
|
.anyExchange().authenticated()
|
||||||
.and()
|
.and()
|
||||||
.httpBasic().and()
|
.httpBasic().and()
|
||||||
.formLogin().and()
|
.formLogin();
|
||||||
.build();
|
|
||||||
return Arrays.asList(http.build());
|
return Arrays.asList(http.build());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue