Skip to content

Commit f61a8de

Browse files
ml054jzheaux
authored andcommitted
Update index.adoc
Signed-off-by: Marcin Lewandowski <[email protected]>
1 parent d6e378e commit f61a8de

File tree

1 file changed

+2
-0
lines changed
  • docs/modules/ROOT/pages/servlet/authentication/passwords

1 file changed

+2
-0
lines changed

docs/modules/ROOT/pages/servlet/authentication/passwords/index.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public class SecurityConfig {
3434
3535
@Bean
3636
public UserDetailsService userDetailsService() {
37+
// User.withDefaultPasswordEncoder() is considered unsafe for production
38+
// and is only intended for sample applications.
3739
UserDetails userDetails = User.withDefaultPasswordEncoder()
3840
.username("user")
3941
.password("password")

0 commit comments

Comments
 (0)