projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4420f98
)
Pman/Login.php
author
edward
<edward@roojs.com>
Wed, 14 Feb 2018 07:30:00 +0000
(15:30 +0800)
committer
edward
<edward@roojs.com>
Wed, 14 Feb 2018 07:30:00 +0000
(15:30 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
3f0a75e
..
b496c78
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-461,7
+461,7
@@
class Pman_Login extends Pman
}
$ip = $this->ip_lookup();
- print_R($ip);exit;
+
if(empty($ip)){
$this->jerr('BAD-IP-ADDRESS', array('ip' => $ip));
}
@@
-501,14
+501,14
@@
class Pman_Login extends Pman
$core_ip_access->insert();
- $core_ip_access->sendXMPP();
+
//
$core_ip_access->sendXMPP();
$this->jerr('NEW-IP-ADDRESS', array('ip' => $ip));
return;
}
- $core_ip_access->sendXMPP();
+
//
$core_ip_access->sendXMPP();
exit;
if(empty($core_ip_access->status)){