projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7fb15f
)
Pman/Login.php
author
edward
<edward@roojs.com>
Mon, 15 Jan 2018 08:17:52 +0000
(16:17 +0800)
committer
edward
<edward@roojs.com>
Mon, 15 Jan 2018 08:17:52 +0000
(16:17 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
c62f12a
..
4670415
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-260,7
+260,7
@@
class Pman_Login extends Pman
$ip = $this->ip_lookup();
// ratelimit
- if (!empty($
_SERVER['REMOTE_ADDR']
)) {
+ if (!empty($
ip
)) {
//DB_DataObject::DebugLevel(1);
$e = DB_DataObject::Factory('Events');
$e->action = 'LOGIN-BAD';