diff options
author | friendica <info@friendica.com> | 2013-01-21 15:45:06 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-21 15:45:06 -0800 |
commit | 6421c09cff6bebd9c7f191d36239a8c4efe74bdf (patch) | |
tree | 916f47747619ca77d63cf137a63192d83bb32313 /mod | |
parent | ab24a967b669f50a61faa3a5c9e09a8da4d40b52 (diff) | |
download | volse-hubzilla-6421c09cff6bebd9c7f191d36239a8c4efe74bdf.tar.gz volse-hubzilla-6421c09cff6bebd9c7f191d36239a8c4efe74bdf.tar.bz2 volse-hubzilla-6421c09cff6bebd9c7f191d36239a8c4efe74bdf.zip |
oopsie
Diffstat (limited to 'mod')
-rw-r--r-- | mod/magic.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/magic.php b/mod/magic.php index 81fad3446..2ea686b1b 100644 --- a/mod/magic.php +++ b/mod/magic.php @@ -52,10 +52,11 @@ function magic_init(&$a) { goaway($desturl); } + $channel = $a->get_channel(); + $token = random_string(); $token_sig = rsa_sign($token,$channel['channel_prvkey']); - $channel = $a->get_channel(); $channel['token'] = $token; $channel['token_sig'] = $token_sig; |