hubloc confusion in magic auth

This commit is contained in:
Zot
2019-04-25 11:54:37 +02:00
committed by Mario
parent c123fa5422
commit 3c8f8b76aa
6 changed files with 89 additions and 28 deletions

View File

@@ -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);
}
}