diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-08 19:43:49 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-08 19:43:49 -0800 |
commit | 5735cad45795d1f810085a079106f9fea056bcca (patch) | |
tree | cf4f537fbc58ac12db3f726ee0610915734bc9e0 /Zotlabs | |
parent | 648f972cf04660139810329e777259e254537bc1 (diff) | |
download | volse-hubzilla-5735cad45795d1f810085a079106f9fea056bcca.tar.gz volse-hubzilla-5735cad45795d1f810085a079106f9fea056bcca.tar.bz2 volse-hubzilla-5735cad45795d1f810085a079106f9fea056bcca.zip |
remove extra debug logging and ensure we don't try to authenticate without a hubloc
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Zot/Auth.php | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Zotlabs/Zot/Auth.php b/Zotlabs/Zot/Auth.php index 950a7593a..d0374ad7e 100644 --- a/Zotlabs/Zot/Auth.php +++ b/Zotlabs/Zot/Auth.php @@ -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; + } } /** |