]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Magic.php
Changed comment
[friendica.git] / src / Module / Magic.php
index cf77482e5a8eec13d719bade0afdf9ada4bc2064..0b4126e0e965528fba0c9170a725c2b2dec262c9 100644 (file)
@@ -76,13 +76,9 @@ class Magic extends BaseModule
 
                                // Create a header that is signed with the local users private key.
                                $headers = HTTPSignature::createSig(
-                                       '',
                                        $headers,
                                        $user['prvkey'],
-                                       'acct:' . $user['nickname'] . '@' . $a->get_hostname() . ($a->urlpath ? '/' . $a->urlpath : ''),
-                                       false,
-                                       true,
-                                       'sha512'
+                                       'acct:' . $user['nickname'] . '@' . $a->get_hostname() . ($a->urlpath ? '/' . $a->urlpath : '')
                                );
 
                                // Try to get an authentication token from the other instance.