Added failed auth logging (like in actions/api.php)
This commit is contained in:
parent
ae6a3e258d
commit
5015505f16
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user