projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb134c
)
Pman/Login.php
author
edward
<edward@roojs.com>
Mon, 15 Jan 2018 08:13:10 +0000
(16:13 +0800)
committer
edward
<edward@roojs.com>
Mon, 15 Jan 2018 08:13:10 +0000
(16:13 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
2958eef
..
b44dc90
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-508,7
+508,7
@@
class Pman_Login extends Pman
return;
}
- print_R(strtotime('NOW'));exit;
+
if(empty($core_ip_access->status)){
$this->jerr('PENDING-IP-ADDRESS', array('ip' => $ip));
}
@@
-519,7
+519,7
@@
class Pman_Login extends Pman
}
if(strtotime($core_ip_access->expire_dt) > 0 && strtotime($core_ip_access->expire_dt) < strtotime('NOW')){
- $this->jerr('
PENDING
-IP-ADDRESS', array('ip' => $ip));
+ $this->jerr('
BLOCKED
-IP-ADDRESS', array('ip' => $ip));
return;
}