mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 13:32:30 +00:00
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()
|
||||
.and()
|
||||
.httpBasic().and()
|
||||
.formLogin().and()
|
||||
.build();
|
||||
.formLogin();
|
||||
return Arrays.asList(http.build());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user