]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Warning log msg when http basic auth fails
authorZach Copley <zach@controlyourself.ca>
Thu, 28 May 2009 23:18:58 +0000 (16:18 -0700)
committerZach Copley <zach@controlyourself.ca>
Thu, 28 May 2009 23:18:58 +0000 (16:18 -0700)
actions/api.php

index 8762b4bcd3efc974831252987f72b8bb33bd4041..b25ba99f30cfcf44b56f6a477856b9c1c82e675c 100644 (file)
@@ -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();
                 }
             }