Skip to content
Snippets Groups Projects
Commit d70d4f43 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt
Browse files

apply @LukasReschke's cookie changes, hopefully finally fix #854

parent cc0965b9
Branches
No related tags found
No related merge requests found
......@@ -166,8 +166,8 @@ class Session implements Emitter {
unset($_COOKIE["oc_username"]); //TODO: DI
unset($_COOKIE["oc_token"]);
unset($_COOKIE["oc_remember_login"]);
setcookie("oc_username", null, -1);
setcookie("oc_token", null, -1);
setcookie("oc_remember_login", null, -1);
setcookie('oc_username', '', time()-3600);
setcookie('oc_token', '', time()-3600);
setcookie('oc_remember_login', '', time()-3600);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment