From c4de9f138438a8391cd0dbe0c140090154d52b60 Mon Sep 17 00:00:00 2001 From: Paal Braathen Date: Tue, 21 Jan 2014 16:34:02 +0100 Subject: [PATCH] Added logon log --- inside/ActionParser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inside/ActionParser.php b/inside/ActionParser.php index eda11e6..af50458 100644 --- a/inside/ActionParser.php +++ b/inside/ActionParser.php @@ -39,6 +39,7 @@ class ActionParser { if (checkAuth('perform-' . $this->action) || checkResponsible()) { switch ($this->action) { case 'log-in' : + $this->logError(scriptParam('username'), "Tried logon ". $_SERVER['REMOTE_ADDR']); new_login(scriptParam('username'),scriptParam('password')); break;