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 76d2b7a commit 3c27a5aCopy full SHA for 3c27a5a
app/code/Magento/JwtUserToken/Model/RevokedValidator.php
@@ -43,5 +43,8 @@ public function validate(UserToken $token): void
43
if ($revoked && $token->getData()->getIssued()->getTimestamp() <= $revoked->getBeforeTimestamp()) {
44
throw new AuthorizationException(__('User token has been revoked'));
45
}
46
+ elseif($revoked && $token->getData()->getIssued()->getTimestamp() >= $revoked->getBeforeTimestamp()) {
47
+ throw new AuthorizationException(__('User token has been revoked'));
48
+ }
49
50
0 commit comments