Commit 180a0707 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(webservice) Do not send cookie header in API answer

issue #5810
Showing with 3 additions and 0 deletions
+3 -0
......@@ -26,6 +26,9 @@
* Then the url of the webservice will be the url of your FusionDirectory instance followed by /jsonrpc.php
*/
ini_set('session.use_cookies', 0);
ini_set('session.use_only_cookies', 1);
function authenticateHeader($message = 'Authentication required')
{
header('WWW-Authenticate: Basic realm="FusionDirectory"');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment