aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-09-03 23:50:18 -0700
committerzotlabs <mike@macgirvin.com>2017-09-03 23:50:18 -0700
commitfc62f07a089daf698953e6e4197668fbf8aebef9 (patch)
tree3e6a0b53dc61008b336497eb16a693b8670b6004 /Zotlabs/Module
parent3d0a7f4fc5eacbafa08f49118dc7e54927b4fbed (diff)
downloadvolse-hubzilla-fc62f07a089daf698953e6e4197668fbf8aebef9.tar.gz
volse-hubzilla-fc62f07a089daf698953e6e4197668fbf8aebef9.tar.bz2
volse-hubzilla-fc62f07a089daf698953e6e4197668fbf8aebef9.zip
validate the security context
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Magic.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Magic.php b/Zotlabs/Module/Magic.php
index 9ee5f9324..bf3198067 100644
--- a/Zotlabs/Module/Magic.php
+++ b/Zotlabs/Module/Magic.php
@@ -133,10 +133,10 @@ class Magic extends \Zotlabs\Web\Controller {
$channel = \App::get_channel();
$token = random_string();
- $token_sig = base64url_encode(rsa_sign($token,$channel['channel_prvkey']));
+// $token_sig = base64url_encode(rsa_sign($token,$channel['channel_prvkey']));
- $channel['token'] = $token;
- $channel['token_sig'] = $token_sig;
+// $channel['token'] = $token;
+// $channel['token_sig'] = $token_sig;
\Zotlabs\Zot\Verify::create('auth',$channel['channel_id'],$token,$x[0]['hubloc_url']);