فهرست منبع

Fix return type for NoOpPasswordEncoder bean in documentation

Henning Poettker 3 سال پیش
والد
کامیت
04161b9288
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      docs/modules/ROOT/pages/features/authentication/password-storage.adoc

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

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