projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ff2ae
)
Pman/Login.php
author
edward
<edward@roojs.com>
Thu, 15 Feb 2018 05:21:08 +0000
(13:21 +0800)
committer
edward
<edward@roojs.com>
Thu, 15 Feb 2018 05:21:08 +0000
(13:21 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
a596f75
..
5a08494
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-520,7
+520,7
@@
class Pman_Login extends Pman
return;
}
- if(
strtotime($core_ip_access->expire_dt) > 0
&& strtotime($core_ip_access->expire_dt) < strtotime('NOW')){
+ if(
$core_ip_access->status == -2
&& strtotime($core_ip_access->expire_dt) < strtotime('NOW')){
$this->jerr('BLOCKED-IP-ADDRESS', array('ip' => $ip));
return;
}