mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:35:12 +00:00
there's the problem
This commit is contained in:
parent
f09fe8da78
commit
7e9162ef06
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ class Magic extends \Zotlabs\Web\Controller {
|
|||
$j = json_decode($x['body'],true);
|
||||
if($j['success'] && $j['token']) {
|
||||
$x = strpbrk($dest,'?&');
|
||||
$args = (($x) ? '&owt=' . $token : '?f=&owt=' . $token) . (($delegate) ? '&delegate=1' : '');
|
||||
$args = (($x) ? '&owt=' . $j['token'] : '?f=&owt=' . $j['token']) . (($delegate) ? '&delegate=1' : '');
|
||||
goaway($dest . $args);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue