aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Magic.php
diff options
context:
space:
mode:
authorZot <mike@macgirvin.com>2019-04-25 11:54:37 +0200
committerMario <mario@mariovavti.com>2019-04-25 11:54:37 +0200
commit3c8f8b76aa35eed1e612cb20537b8648bef3daca (patch)
treeee68e6a3ec60aeedd21fff263e826735fd51f429 /Zotlabs/Module/Magic.php
parentc123fa5422c9c2df741819c4fb9a1b19547866d4 (diff)
downloadvolse-hubzilla-3c8f8b76aa35eed1e612cb20537b8648bef3daca.tar.gz
volse-hubzilla-3c8f8b76aa35eed1e612cb20537b8648bef3daca.tar.bz2
volse-hubzilla-3c8f8b76aa35eed1e612cb20537b8648bef3daca.zip
hubloc confusion in magic auth
Diffstat (limited to 'Zotlabs/Module/Magic.php')
-rw-r--r--Zotlabs/Module/Magic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Magic.php b/Zotlabs/Module/Magic.php
index 71737eef8..e8e960574 100644
--- a/Zotlabs/Module/Magic.php
+++ b/Zotlabs/Module/Magic.php
@@ -169,8 +169,8 @@ class Magic extends \Zotlabs\Web\Controller {
$token = $j['token'];
}
- $x = strpbrk($dest,'?&');
- $args = (($x) ? '&owt=' . $token : '?f=&owt=' . $token) . (($delegate) ? '&delegate=1' : '');
+ $strp = strpbrk($dest,'?&');
+ $args = (($strp) ? '&owt=' . $token : '?f=&owt=' . $token) . (($delegate) ? '&delegate=1' : '');
goaway($dest . $args);
}
}