From c6da99474eca89cb991ca4c398c008088b324eec Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Wed, 13 Sep 2023 13:55:48 +0200 Subject: rename oauth2_access_token's created_at to code_created_at Signed-off-by: Julien Veyssier --- core/Controller/ClientFlowLoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Controller') 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(); -- cgit v1.2.3