Skip to content

Commit

Permalink
Reduce the log level on these.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 6, 2019
1 parent d531bcc commit b382d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Horde/Rpc/ActiveSync.php
Expand Up @@ -239,11 +239,11 @@ protected function _sendAuthenticationFailedHeaders($e)
switch ($e->getCode()) {
case Horde_ActiveSync_Status::SYNC_NOT_ALLOWED:
case Horde_ActiveSync_Status::DEVICE_BLOCKED_FOR_USER:
$this->_logger->err('Sending HTTP 403 Forbidden header response.');
$this->_logger->notice('Sending HTTP 403 Forbidden header response.');
header('HTTP/1.1 403 Forbidden');
break;
default:
$this->_logger->err('Sending HTTP 401 Unauthorized header response.');
$this->_logger->notice('Sending HTTP 401 Unauthorized header response.');
header('HTTP/1.1 401 Unauthorized');
header('WWW-Authenticate: Basic realm="Horde ActiveSync"');
}
Expand Down

0 comments on commit b382d56

Please sign in to comment.