Fix return type for NoOpPasswordEncoder bean in documentation

This commit is contained in:
Henning Poettker 2021-11-23 14:10:10 +01:00 committed by Marcus Da Coregio
parent 719149f01d
commit f1ca42e501
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
----