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 d736a2b358
commit bb99d7d95a
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();
}
----