Commit 7bcafcf7 authored by Administrator's avatar Administrator

开发提测

parent 4814d9d5
......@@ -73,6 +73,7 @@ public class UroraAuthenticationManager extends CustomerAuthenticationManager {
if (HttpStatus.OK.equals(verify.getStatusCode())) {
UroraResponse body = verify.getBody();
if (!body.getCode().equals("8000") || StringUtils.isEmpty(body.getPhone())) {
logger.warn("Urora login token verify failed. {}", body);
authentication.setAuthenticated(false);
} else {
String decrypt = RSADecrypt.decrypt(body.getPhone(), getProperty("privateKey"));
......
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