diff options
author | zotlabs <mike@macgirvin.com> | 2017-09-07 18:52:18 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-09-07 18:52:18 -0700 |
commit | 1fbb1e6c2a665159d0085217c9b73d571e360256 (patch) | |
tree | 3a6d075cdfbca0f7fb15b989ee7b6fb191f3bb67 /include | |
parent | 7e9162ef06b4719723941679e55af079421ae475 (diff) | |
download | volse-hubzilla-1fbb1e6c2a665159d0085217c9b73d571e360256.tar.gz volse-hubzilla-1fbb1e6c2a665159d0085217c9b73d571e360256.tar.bz2 volse-hubzilla-1fbb1e6c2a665159d0085217c9b73d571e360256.zip |
initial testing success with owa
Diffstat (limited to 'include')
-rw-r--r-- | include/zid.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/zid.php b/include/zid.php index 5d58ff257..d5d863be6 100644 --- a/include/zid.php +++ b/include/zid.php @@ -239,6 +239,7 @@ function owt_init($token) { \Zotlabs\Zot\Verify::purge('owt','3 MINUTE'); $ob_hash = \Zotlabs\Zot\Verify::get_meta('owt',0,$token); + if($ob_hash === false) { return; } @@ -250,7 +251,7 @@ function owt_init($token) { if(! $r) { // finger them if they can't be found. - $j = Finger::run($ob_hash, null); + $j = \Zotlabs\Zot\Finger::run($ob_hash, null); if ($j['success']) { import_xchan($j); $r = q("select * from hubloc left join xchan on xchan_hash = hubloc_hash @@ -265,6 +266,8 @@ function owt_init($token) { } $hubloc = $r[0]; + $_SESSION['authenticated'] = 1; + $delegate_success = false; if($_REQUEST['delegate']) { $r = q("select * from channel left join xchan on channel_hash = xchan_hash where xchan_addr = '%s' limit 1", |