Warning log msg when http basic auth fails
This commit is contained in:
parent
6612993c1d
commit
8e8853a714
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user