🎨 密码加解密密钥配置由 password.secret-key 变更为 ballcat.password.secret-key
This commit is contained in:
@@ -60,7 +60,7 @@ public class SysUserServiceImpl extends ExtendServiceImpl<SysUserMapper, SysUser
|
||||
|
||||
private final ApplicationEventPublisher publisher;
|
||||
|
||||
@Value("${password.secret-key}")
|
||||
@Value("${ballcat.password.secret-key}")
|
||||
private String secretKey;
|
||||
|
||||
/**
|
||||
|
||||
@@ -37,7 +37,7 @@ public class LoginPasswordDecoderFilter extends OncePerRequestFilter {
|
||||
|
||||
private final ObjectMapper objectMapper;
|
||||
|
||||
@Value("${password.secret-key}")
|
||||
@Value("${ballcat.password.secret-key}")
|
||||
private String secretKey;
|
||||
|
||||
private static final String PASSWORD = "password";
|
||||
|
||||
Reference in New Issue
Block a user