Fix return type for NoOpPasswordEncoder bean in documentation
This commit is contained in:
parent
2bf7a5ae80
commit
775bf91c77
|
@ -463,7 +463,7 @@ You should instead migrate to using `DelegatingPasswordEncoder` to support secur
|
|||
[source,java,role="primary"]
|
||||
----
|
||||
@Bean
|
||||
public static NoOpPasswordEncoder passwordEncoder() {
|
||||
public static PasswordEncoder passwordEncoder() {
|
||||
return NoOpPasswordEncoder.getInstance();
|
||||
}
|
||||
----
|
||||
|
|
Loading…
Reference in New Issue