aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.php
diff options
context:
space:
mode:
authorZot <mike@macgirvin.com>2019-04-25 09:54:37 +0000
committerMario <mario@mariovavti.com>2019-04-26 10:41:35 +0200
commitab8d8aa552cb8e2d39f4cfac4bfa914154e3263a (patch)
tree4c1b48e41290bf17500dd22d7bdaeb852047085c /Zotlabs/Lib/Libzot.php
parentf955276694680695be76dc9bfcf22d19e10613be (diff)
downloadvolse-hubzilla-ab8d8aa552cb8e2d39f4cfac4bfa914154e3263a.tar.gz
volse-hubzilla-ab8d8aa552cb8e2d39f4cfac4bfa914154e3263a.tar.bz2
volse-hubzilla-ab8d8aa552cb8e2d39f4cfac4bfa914154e3263a.zip
hubloc confusion in magic auth
(cherry picked from commit 3c8f8b76aa35eed1e612cb20537b8648bef3daca)
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r--Zotlabs/Lib/Libzot.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 70602bbbc..9bf987027 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -3107,7 +3107,11 @@ class Libzot {
foreach($arr as $v) {
if($v[$check] === 'zot6') {
-
+ return $v;
+ }
+ }
+ foreach($arr as $v) {
+ if($v[$check] === 'zot') {
return $v;
}
}