From fc7eb0609e61feb9edb18ba8bf5588c73b07b040 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 22 Jan 2011 16:10:07 +0000 Subject: [PATCH] warn on login failure --- ext/user/main.php | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/user/main.php b/ext/user/main.php index 82713d58..d6752a08 100644 --- a/ext/user/main.php +++ b/ext/user/main.php @@ -267,6 +267,7 @@ class UserPage extends SimpleExtension { $page->set_redirect(make_link("user")); } else { + log_warning("user", "Failed to log in as ".html_escape($name)." [$hash]"); $this->theme->display_error($page, "Error", "No user with those details was found"); } }