1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-30 19:00:32 +02:00

Version 1.1.7 Improve Session Management

This commit is contained in:
Sebastian
2018-06-04 23:09:26 +02:00
parent 86366dd2bb
commit 089ee04dc0
6 changed files with 18 additions and 11 deletions

View File

@@ -27,7 +27,6 @@ abstract class Controller
if($this->c->request->getUri()->getScheme() == 'https')
{
$response = $response->withAddedHeader('Strict-Transport-Security', 'max-age=63072000');
$response = $response->withAddedHeader('Content-Security-Policy', 'default-src https:');
}
$response = $response->withAddedHeader('X-Content-Type-Options', 'nosniff');