projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930c423
)
Pman/Login.php
author
edward
<edward@roojs.com>
Mon, 15 Jan 2018 08:08:37 +0000
(16:08 +0800)
committer
edward
<edward@roojs.com>
Mon, 15 Jan 2018 08:08:37 +0000
(16:08 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
be76497
..
0546b5c
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-518,19
+518,12
@@
class Pman_Login extends Pman
return;
}
- print_R(strtotime($core_ip_access->expire_dt));exit;
-
- print_R($core_ip_access);exit;
-
- $core_ip_access->sendXMPP();
- exit;
-
-
-
-
-
-
+ if(strtotime($core_ip_access->expire_dt) > 0 && strtotime($core_ip_access->expire_dt) < strtotime('NOW')){
+ $this->jerr('PENDING-IP-ADDRESS', array('ip' => $ip));
+ return;
+ }
+ return;
}
function ip_lookup()