From 8a8fef4b38e80bfff14ab0d2a1bace704e2adbba Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 22 Jan 2011 16:10:10 +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 70912700..f8770720 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"); } }