Skip to content
Snippets Groups Projects
Verified Commit b2e1fca0 authored by Thomas Flori's avatar Thomas Flori
Browse files

delete cookie with negative max age

parent 052330a3
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ class ServerResponse extends Response implements ServerResponseInterface
public function deleteCookie($name)
{
$this->setCookie($name, 'deleted', 1);
$this->setCookie($name, 'deleted', -1);
return $this;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment