diff options
Diffstat (limited to 'Zotlabs/Zot/Auth.php')
-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; + } } /** |