also error if no security context

This commit is contained in:
zotlabs 2017-09-03 23:58:52 -07:00
parent fc62f07a08
commit ba4f75ba19

View file

@ -115,6 +115,14 @@ class Auth {
$this->remote_hub = $hubloc['hubloc_url'];
$this->dnt = 0;
if(! $this->sec) {
logger('missing security context.');
if($this->test)
$this->Debug('missing security context.');
return false;
}
// check credentials and access
// If they are already authenticated and haven't changed credentials,