mirror of
https://gitee.com/dromara/hutool.git
synced 2025-12-27 14:45:56 +08:00
fix bug
This commit is contained in:
@@ -352,7 +352,7 @@ public class JWT implements RegisteredPayload<JWT> {
|
||||
|
||||
// 校验时间字段
|
||||
try {
|
||||
JWTValidator.of(tokens.get(2)).validateDate(DateUtil.date(), leeway);
|
||||
JWTValidator.of(this).validateDate(DateUtil.date(), leeway);
|
||||
} catch (ValidateException e) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user