Commit 3b6fc9b5 authored by Tino Goratsch's avatar Tino Goratsch

vary the user context hash action by Cookie

parent 95c67b97
......@@ -20,6 +20,7 @@ class Hash extends WidgetAction
*/
public function execute()
{
$this->response->setVary('Cookie');
$this->response->setPublic();
$this->response->setMaxAge(60);
$this->response->headers->add([
......
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