This commit is contained in:
Savetheinternet committed 2011-11-18 23:39:13 +11:00
1 parent a37a14a398
commit 3e28328dc9
4 files changed
+31 -7

No files matched your search

+3 -1
View File
@@ -36,8 +36,10 @@
) loginForm($config['error']['invalid'], $_POST['username'], '?' . $query);
if(!login($_POST['username'], $_POST['password']))
if(!login($_POST['username'], $_POST['password'])) {
_syslog(LOG_WARNING, 'Unauthorized login attempt!');
loginForm($config['error']['invalid'], $_POST['username'], '?' . $query);
}
modLog("Logged in.");