From: Jeffery To Date: Fri, 17 Jul 2009 08:44:14 +0000 (+0800) Subject: Added failed auth logging (like in actions/api.php) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5015505f16c9ce412e6f5535f80188f33d24c4ea;p=quix0rs-gnu-social.git Added failed auth logging (like in actions/api.php) --- diff --git a/lib/rssaction.php b/lib/rssaction.php index dceabcbec8..15c238bf90 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; }