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 0c238dd commit 41fae5aCopy full SHA for 41fae5a
app/code/Magento/Integration/Model/Oauth/Consumer.php
@@ -180,6 +180,6 @@ public function getCreatedAt()
180
public function isValidForTokenExchange()
181
{
182
$expiry = $this->dataHelper->getConsumerExpirationPeriod();
183
- return $this->getResource()->getTimeInSecondsSinceCreation($this->getId()) > $expiry;
+ return $expiry > $this->getResource()->getTimeInSecondsSinceCreation($this->getId());
184
}
185
0 commit comments