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 6d91453 commit 1ce5badCopy full SHA for 1ce5bad
app/code/Magento/JwtUserToken/Model/RevokedValidator.php
@@ -40,8 +40,7 @@ public function validate(UserToken $token): void
40
(int) $token->getUserContext()->getUserType(),
41
(int) $token->getUserContext()->getUserId()
42
);
43
-
44
- if ($revoked && $token->getData()->getIssued()->getTimestamp() <= $revoked->getBeforeTimestamp()) {
+ if ($revoked && $token->getData()->getIssued()->getTimestamp() >= $revoked->getBeforeTimestamp()) {
45
throw new AuthorizationException(__('User token has been revoked'));
46
}
47
0 commit comments