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:18:58 -0700
commit5e53a97a41038151959c0280d988c609c0834aa2 (patch)
treea751c73a2964bcac87de2620d8c2a6c8763f3f90
parent047038959c068364f2efa030ba63571a492b9cda (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();
}
}