warn on login failure
This commit is contained in:
parent
0d50d68da0
commit
8a8fef4b38
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user