diff options
author | Jeffery To <jeffery.to@gmail.com> | 2009-07-17 16:44:14 +0800 |
---|---|---|
committer | Jeffery To <jeffery.to@gmail.com> | 2009-07-17 16:44:14 +0800 |
commit | 5015505f16c9ce412e6f5535f80188f33d24c4ea (patch) | |
tree | 32f5433eb500f0a385e330fa02e04a0fec24294d /lib/rssaction.php | |
parent | ae6a3e258d58c863fb54c1c2b06a426fccb5a689 (diff) |
Added failed auth logging (like in actions/api.php)
Diffstat (limited to 'lib/rssaction.php')
-rw-r--r-- | lib/rssaction.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php index dceabcbec..15c238bf9 100644 --- a/lib/rssaction.php +++ b/lib/rssaction.php @@ -112,6 +112,9 @@ class Rss10Action extends Action if (!common_check_user($nickname, $password)) { # basic authentication failed + list($proxy, $ip) = common_client_ip(); + + common_log(LOG_WARNING, "Failed RSS auth attempt, nickname = $nickname, proxy = $proxy, ip = $ip."); $this->show_basic_auth_error(); return; } |