projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f17cc11
)
VerifyAccess.php
author
edward
<edward@roojs.com>
Wed, 14 Feb 2018 09:57:41 +0000
(17:57 +0800)
committer
edward
<edward@roojs.com>
Wed, 14 Feb 2018 09:57:41 +0000
(17:57 +0800)
VerifyAccess.php
patch
|
blob
|
history
diff --git
a/VerifyAccess.php
b/VerifyAccess.php
index
dee7aa7
..
db5ead8
100644
(file)
--- a/
VerifyAccess.php
+++ b/
VerifyAccess.php
@@
-22,12
+22,12
@@
class Pman_Core_VerifyAccess extends Pman
$core_ip_access = DB_DataObject::factory('core_ip_access');
if(
+ empty($id) ||
+ empty($key) ||
empty($ff->Pman['ip_management']) ||
empty($ff->Pman['XMPP']) ||
empty($ff->Pman['XMPP']['to']) ||
!$core_person->get('email', $ff->Pman['XMPP']['to']) ||
- empty($id) ||
- empty($key) ||
!$core_ip_access->get($id) ||
$core_ip_access->authorized_key != $key
) {