Commit b7e78d91 authored by zhangwanglin's avatar zhangwanglin

压测密码先固定

parent 35fa1596
...@@ -42,8 +42,8 @@ public class AuthController { ...@@ -42,8 +42,8 @@ public class AuthController {
if(FALSE.equals(password)){ if(FALSE.equals(password)){
return Result.failed(ResultCode.USER_LOGIN_ERROR); return Result.failed(ResultCode.USER_LOGIN_ERROR);
} }
String decrypt = csoftSecurityUtil.decryptRSADefault(password,publicKeyString); // String decrypt = csoftSecurityUtil.decryptRSADefault(password,publicKeyString);
parameters.put("password", decrypt); parameters.put("password", "Hg123admin");
OAuth2AccessToken oAuth2AccessToken = tokenEndpoint.postAccessToken(principal, parameters).getBody(); OAuth2AccessToken oAuth2AccessToken = tokenEndpoint.postAccessToken(principal, parameters).getBody();
return Result.success(oAuth2AccessToken); return Result.success(oAuth2AccessToken);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment