Skip to content

Commit bb99d7d

Browse files
hpoettkermarcusdacoregio
authored andcommitted
Fix return type for NoOpPasswordEncoder bean in documentation
1 parent d736a2b commit bb99d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/features/authentication/password-storage.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ You should instead migrate to using `DelegatingPasswordEncoder` to support secur
463463
[source,java,role="primary"]
464464
----
465465
@Bean
466-
public static NoOpPasswordEncoder passwordEncoder() {
466+
public static PasswordEncoder passwordEncoder() {
467467
return NoOpPasswordEncoder.getInstance();
468468
}
469469
----

0 commit comments

Comments
 (0)