This commit is contained in:
Simon Vieille 2018-08-21 10:24:26 +02:00
parent 001901a8f7
commit f36783b2ce
No known key found for this signature in database
GPG Key ID: 919533E2B946EA10
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ abstract class Controller
$ttl = 3600 * 24 * 7;
$response->setTtl($ttl);
$response->setClientTtl($ttl);
$response->setExpires(new \DateTime('now +7 days'));
}
return $response;