Skip to content

Commit 1d608d8

Browse files
committed
Log out put tweaks
1 parent a39e4ba commit 1d608d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Classes/OAuthClient.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,10 @@ public function requestAccessToken(string $serviceName, string $clientId, string
214214

215215
$existingAuthorization = $this->getAuthorization($authorizationId);
216216
if ($existingAuthorization !== null) {
217-
$this->logger->debug(sprintf('OAuth (%s): Found old OAuth token for client "%s". (authorization id: %s)', $this->getServiceType(), $clientId, $authorizationId));
218217
$this->entityManager->remove($existingAuthorization);
219218
$this->entityManager->flush();
220219

221-
$this->logger->info(sprintf('OAuth (%s): Removed old OAuth token for client "%s". (authorization id: %s)', $this->getServiceType(), $clientId, $authorizationId));
220+
$this->logger->info(sprintf('OAuth (%s): Removed old OAuth token for client "%s". (authorization id: %s)', $this->getServiceType(), $clientId, $authorizationId));
222221
}
223222

224223
$accessToken = $this->createOAuthProvider($clientId, $clientSecret)->getAccessToken($grantType, $additionalParameters);

0 commit comments

Comments
 (0)