This commit is contained in:
git-marijus 2023-06-17 22:31:25 +02:00
parent 353be860b7
commit 0af73775be
2 changed files with 4 additions and 4 deletions

View file

@ -119,8 +119,8 @@ class Magic extends BaseModule
$basepath = $gserver['url'];
$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.