remove extra debug logging and ensure we don't try to authenticate without a hubloc

This commit is contained in:
redmatrix 2015-12-08 19:43:49 -08:00
parent 648f972cf0
commit 5735cad457

View file

@ -22,7 +22,6 @@ class Auth {
function __construct($req) {
logger('construct');
$this->ret = array('success' => false);
$this->success = false;
@ -41,14 +40,11 @@ class Auth {
$x = $this->GetHublocs($this->address);
logger('hublocs');
foreach($x as $xx) {
logger('verify');
if($this->Verify($c,$xx))
break;
if($x) {
foreach($x as $xx) {
if($this->Verify($c,$xx))
break;
}
}
/**