mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30:11 +00:00
Issue 6149: Making OWA (hopefully) compatible with Hubzilla
This commit is contained in:
parent
7e19506435
commit
8c6df8f156
4 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ class Magic extends BaseModule
|
|||
$basepath = $exp[0];
|
||||
|
||||
$headers = [];
|
||||
$headers['Accept'] = 'application/x-dfrn+json';
|
||||
$headers['Accept'] = 'application/x-dfrn+json, application/x-zot+json';
|
||||
$headers['X-Open-Web-Auth'] = Strings::getRandomHex();
|
||||
|
||||
// Create a header that is signed with the local users private key.
|
||||
|
|
|
@ -86,6 +86,6 @@ class Owa extends BaseModule
|
|||
}
|
||||
}
|
||||
}
|
||||
System::jsonExit($ret, 'application/x-dfrn+json');
|
||||
System::jsonExit($ret, 'application/x-zot+json');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue