diff --git a/lib/Controller/LoginController.php b/lib/Controller/LoginController.php index da786660..449e32a6 100644 --- a/lib/Controller/LoginController.php +++ b/lib/Controller/LoginController.php @@ -891,13 +891,13 @@ private function getBackchannelLogoutErrorResponse( string $description, array $throttleMetadata = [], ): JSONResponse { - $this->logger->debug('Backchannel logout error. ' . $error . ' ; ' . $description); + $this->logger->debug('Backchannel logout error', ['error' => $error, 'description' => $description] + $throttleMetadata); return new JSONResponse( [ 'error' => $error, 'error_description' => $description, ], - Http::STATUS_BAD_REQUEST, + Http::STATUS_OK, ); }