remove extra debug logging and ensure we don't try to authenticate without a hubloc
This commit is contained in:
parent
648f972cf0
commit
5735cad457
@ -22,7 +22,6 @@ class Auth {
|
|||||||
|
|
||||||
function __construct($req) {
|
function __construct($req) {
|
||||||
|
|
||||||
logger('construct');
|
|
||||||
|
|
||||||
$this->ret = array('success' => false);
|
$this->ret = array('success' => false);
|
||||||
$this->success = false;
|
$this->success = false;
|
||||||
@ -41,14 +40,11 @@ class Auth {
|
|||||||
|
|
||||||
$x = $this->GetHublocs($this->address);
|
$x = $this->GetHublocs($this->address);
|
||||||
|
|
||||||
logger('hublocs');
|
if($x) {
|
||||||
|
foreach($x as $xx) {
|
||||||
foreach($x as $xx) {
|
if($this->Verify($c,$xx))
|
||||||
|
break;
|
||||||
logger('verify');
|
}
|
||||||
|
|
||||||
if($this->Verify($c,$xx))
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user