From: edward Date: Mon, 15 Jan 2018 08:15:35 +0000 (+0800) Subject: Pman/Login.php X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=73f42c6e81946d426b6eb1d9c6fb46de0ddd2a88;p=Pman.Base Pman/Login.php --- diff --git a/Pman/Login.php b/Pman/Login.php index 1c0d6e0..309bfd0 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -262,7 +262,7 @@ class Pman_Login extends Pman if (!empty($_SERVER['REMOTE_ADDR'])) { //DB_DataObject::DebugLevel(1); $e = DB_DataObject::Factory('Events'); - $e->action = 'LOGIN-BAD'; + $e->action = 'LOGIN-BAD-REMOTE-ADDR'; $e->ipaddr = $_SERVER['REMOTE_ADDR']; $e->whereAdd('event_when > NOW() - INTERVAL 10 MINUTE'); if ($e->count() > 5) {