mirror of
https://codeberg.org/SeedDMS/paperless
synced 2026-01-27 03:29:20 +00:00
minor correction in log messages
This commit is contained in:
parent
ff4b3d7722
commit
fd436a06fa
|
|
@ -1695,7 +1695,7 @@ class SeedDMS_ExtPaperless_RestAPI_Auth { /* {{{ */
|
|||
$settings = $this->container->get('config');
|
||||
$logger = $this->container->get('logger');
|
||||
|
||||
$logger->log("Invoke paperless middleware for method ".$request->getMethod()." on '".$request->getUri()->getPath()."'", PEAR_LOG_INFO);
|
||||
$logger->log("Invoke paperless AuthMiddleware for method ".$request->getMethod()." on '".$request->getUri()->getPath()."'", PEAR_LOG_INFO);
|
||||
|
||||
/* Skip this middleware if the authentication was already successful */
|
||||
$userobj = null;
|
||||
|
|
@ -1802,7 +1802,7 @@ class SeedDMS_ExtPaperless_RestAPI_Auth { /* {{{ */
|
|||
/* Pretent to be paperless ngx 1.13.0 with api version 2 */
|
||||
$response = $response->withHeader('x-api-version', '2')->withHeader('x-version', '1.13.0');
|
||||
|
||||
$logger->log("End of paperless middleware for method ".$request->getMethod()." on '".$request->getUri()->getPath()."'", PEAR_LOG_INFO);
|
||||
$logger->log("End of paperless AuthMiddleware for method ".$request->getMethod()." on '".$request->getUri()->getPath()."'", PEAR_LOG_INFO);
|
||||
return $response;
|
||||
} /* }}} */
|
||||
} /* }}} */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user