aboutsummaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJulien Veyssier <julien-nc@posteo.net>2023-09-13 13:55:48 +0200
committerJulien Veyssier <julien-nc@posteo.net>2023-10-05 14:24:02 +0200
commitc6da99474eca89cb991ca4c398c008088b324eec (patch)
tree9c543cd95d53c0ef2e8befa0b0c92938124a7178 /core/Controller
parente944980eb65893ce0ebeeb691bee85734ef8801a (diff)
downloadnextcloud-server-c6da99474eca89cb991ca4c398c008088b324eec.tar.gz
nextcloud-server-c6da99474eca89cb991ca4c398c008088b324eec.zip
rename oauth2_access_token's created_at to code_created_at
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/ClientFlowLoginController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/ClientFlowLoginController.php b/core/Controller/ClientFlowLoginController.php
index 05321c9222a..0a073a586e4 100644
--- a/core/Controller/ClientFlowLoginController.php
+++ b/core/Controller/ClientFlowLoginController.php
@@ -289,7 +289,7 @@ class ClientFlowLoginController extends Controller {
$accessToken->setEncryptedToken($this->crypto->encrypt($token, $code));
$accessToken->setHashedCode(hash('sha512', $code));
$accessToken->setTokenId($generatedToken->getId());
- $accessToken->setCreatedAt($this->timeFactory->now()->getTimestamp());
+ $accessToken->setCodeCreatedAt($this->timeFactory->now()->getTimestamp());
$this->accessTokenMapper->insert($accessToken);
$redirectUri = $client->getRedirectUri();