加密复杂度自定义

加密复杂度自定义

Signed-off-by: Fanjc <271366833@qq.com>
pull/23/head
Fanjc 2023-02-23 05:19:28 +00:00 committed by Gitee
parent 220d727605
commit 8c48afa8e2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class YudaoSecurityAutoConfiguration {
*/
@Bean
public PasswordEncoder passwordEncoder() {
return new BCryptPasswordEncoder();
return new BCryptPasswordEncoder(securityProperties.getPasswordEncoderLength());
}
/**