Commit b8e5836d authored by Côme Chilliet's avatar Côme Chilliet

Merge branch '5810-webservice-should-not-return-session-cookie' into '1.3-dev'

Resolve "WebService should not return session cookie"

See merge request fusiondirectory/fd-plugins!211
parents 764b6645 180a0707
......@@ -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"');
......
Markdown is supported
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