]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Magic.php
Update function / rearrange tab order
[friendica.git] / src / Module / Magic.php
index 3000e953cdd6d8154652e3b679b6e2fccfd9af11..dc0d4f8ad118e5ffaf67069a354eac9f407b4c07 100644 (file)
@@ -130,8 +130,8 @@ class Magic extends BaseModule
                }
 
                $header = [
-                       'Accept'          => ['application/x-dfrn+json', 'application/x-zot+json'],
-                       'X-Open-Web-Auth' => [Strings::getRandomHex()],
+                       'Accept'          => 'application/x-dfrn+json, application/x-zot+json',
+                       'X-Open-Web-Auth' => Strings::getRandomHex()
                ];
 
                // Create a header that is signed with the local users private key.