Skip to content

Commit 26de7ce

Browse files
author
ogorkun
committed
MC-32830: Do not store admin and customer tokens in DB
1 parent 4dbf003 commit 26de7ce

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/Integration/Model/Oauth

1 file changed

+1
-0
lines changed

app/code/Magento/Integration/Model/Oauth/Token.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ public function loadByToken($token)
418418
}
419419
$this->setId(PHP_INT_MAX);
420420
$this->setToken($token);
421+
$this->setCreatedAt($data->getData()->getIssued()->format('Y-m-d H:i:s'));
421422

422423
return $this;
423424
}

0 commit comments

Comments
 (0)