Update src/Module/Magic.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Pascal 2023-05-05 15:58:38 +02:00 committed by GitHub
parent 54c530933d
commit 7fd1db0ec6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ class Magic extends BaseModule
$accept_headers = ['application/x-dfrn+json', 'application/x-zot+json']; $accept_headers = ['application/x-dfrn+json', 'application/x-zot+json'];
$header = [ $header = [
'Accept' => $accept_headers, // ['application/x-dfrn+json', 'application/x-zot+json'], 'Accept' => $accept_headers,
'X-Open-Web-Auth' => [Strings::getRandomHex()], 'X-Open-Web-Auth' => [Strings::getRandomHex()],
]; ];