projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97c9cad
)
Pman/Login.php
author
edward
<edward@roojs.com>
Mon, 15 Jan 2018 08:15:35 +0000
(16:15 +0800)
committer
edward
<edward@roojs.com>
Mon, 15 Jan 2018 08:15:35 +0000
(16:15 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
1c0d6e0
..
309bfd0
100644
(file)
--- 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) {