translate error msg after authentication error

This commit is contained in:
Uwe Steinmann 2024-06-17 13:53:51 +02:00
parent e39cfe068c
commit 19668222ca

View File

@ -181,7 +181,7 @@ class HTTP_WebDAV_Server_SeedDMS extends HTTP_WebDAV_Server
$controller->setParam('source', 'webdav');
if(!$controller()) {
if($this->logger) {
$this->logger->log($controller->getErrorMsg(), PEAR_LOG_NOTICE);
$this->logger->log(getMLText($controller->getErrorMsg()), PEAR_LOG_NOTICE);
$this->logger->log('check_auth: error authenicating user '.$user, PEAR_LOG_NOTICE);
}
return false;