warn on login failure

This commit is contained in:
Shish 2011-01-22 16:10:07 +00:00
parent 3896c71a9a
commit fc7eb0609e

View File

@ -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");
}
}