diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index d6971d1486b05..4b1b7e4b8129b 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -783,7 +783,7 @@ private function validateToken($token, $user = null) { try { $dbToken = $this->tokenProvider->getToken($token); } catch (InvalidTokenException $ex) { - $this->logger->warning('Session token is invalid because it does not exist', [ + $this->logger->debug('Session token is invalid because it does not exist', [ 'app' => 'core', 'user' => $user, 'exception' => $ex, @@ -802,12 +802,11 @@ private function validateToken($token, $user = null) { 'app' => 'core', 'user' => $dbToken->getUID(), ]); - return false; } if (!$this->checkTokenCredentials($dbToken, $token)) { - $this->logger->warning('Session token credentials are invalid', [ + $this->logger->debug('Session token credentials are invalid', [ 'app' => 'core', 'user' => $user, ]);