We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 296bfe4 commit 76d2b7aCopy full SHA for 76d2b7a
app/code/Magento/JwtUserToken/Model/RevokedValidator.php
@@ -40,7 +40,7 @@ public function validate(UserToken $token): void
40
(int) $token->getUserContext()->getUserType(),
41
(int) $token->getUserContext()->getUserId()
42
);
43
- if ($revoked && $token->getData()->getIssued()->getTimestamp()-1 <= $revoked->getBeforeTimestamp()) {
+ if ($revoked && $token->getData()->getIssued()->getTimestamp() <= $revoked->getBeforeTimestamp()) {
44
throw new AuthorizationException(__('User token has been revoked'));
45
}
46
0 commit comments