Skip to content

Commit c77cc72

Browse files
committed
Fix EnableWebFluxSecurityTests
Fixes gh-4604
1 parent 926ad45 commit c77cc72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/src/test/java/org/springframework/security/config/annotation/web/reactive/EnableWebFluxSecurityTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public UserDetailsRepository userDetailsRepository(PasswordEncoder encoder) {
187187
}
188188

189189
@Bean
190-
public PasswordEncoder passwordEncoder() {
190+
public static PasswordEncoder passwordEncoder() {
191191
return new BCryptPasswordEncoder();
192192
}
193193
}

0 commit comments

Comments
 (0)