more work on sessions and cookies, as some anomalies appeared in caldav and firefox which suggested deeper issues

This commit is contained in:
redmatrix
2016-05-16 17:07:39 -07:00
parent c8322e89c6
commit 2dcedd6951
7 changed files with 40 additions and 26 deletions

View File

@@ -486,7 +486,7 @@ require_once('include/api_auth.php');
function api_account_logout(&$a, $type){
require_once('include/auth.php');
\Zotlabs\Web\Session::nuke();
App::$session->nuke();
return api_apply_template("user", $type, array('$user' => null));
}