|
@@ -84,6 +84,9 @@ public class AppTokenService {
|
|
String salt = (String) claims.get("salt");
|
|
String salt = (String) claims.get("salt");
|
|
String userKey = getTokenKey(mobile);
|
|
String userKey = getTokenKey(mobile);
|
|
AppLoginUser user = redisCache.getCacheObject(userKey);
|
|
AppLoginUser user = redisCache.getCacheObject(userKey);
|
|
|
|
+ if (user == null) {
|
|
|
|
+ return null;
|
|
|
|
+ }
|
|
if (!salt.equals(user.getSalt())){
|
|
if (!salt.equals(user.getSalt())){
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|