summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-05-28 16:18:58 -0700
committerZach Copley <zach@controlyourself.ca>2009-05-28 16:54:37 -0700
commit8e8853a7141b10d01814d68021f24f2c78b2f193 (patch)
tree0366ce18dd7125933a2764e2d9d2280000a422f9
parent6612993c1d59051bbb4dafed73e0111eec8ccfd6 (diff)
Warning log msg when http basic auth fails
-rw-r--r--actions/api.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/api.php b/actions/api.php
index 8762b4bcd..b25ba99f3 100644
--- a/actions/api.php
+++ b/actions/api.php
@@ -67,6 +67,7 @@ class ApiAction extends Action
$this->process_command();
} else {
# basic authentication failed
+ common_log(LOG_WARNING, "Failed API auth attempt, nickname: $nickname.");
$this->show_basic_auth_error();
}
}