Browse Source

优化登录加密逻辑

test
smallchill 5 years ago
parent
commit
0d107d8212
  1. 2
      blade-auth/src/main/java/org/springblade/auth/support/BladePasswordEncoder.java

2
blade-auth/src/main/java/org/springblade/auth/support/BladePasswordEncoder.java

@ -28,7 +28,7 @@ public class BladePasswordEncoder implements PasswordEncoder {
@Override @Override
public String encode(CharSequence rawPassword) { public String encode(CharSequence rawPassword) {
return DigestUtil.encrypt((String) rawPassword); return DigestUtil.hex((String) rawPassword);
} }
@Override @Override

Loading…
Cancel
Save