mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 07:15:13 +00:00
remove extra debug logging and ensure we don't try to authenticate without a hubloc
This commit is contained in:
parent
648f972cf0
commit
5735cad457
1 changed files with 5 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue