1
0
mirror of https://github.com/delight-im/PHP-Auth.git synced 2025-08-02 14:17:26 +02:00

Remove obsolete 'pre-check' and 'post-check' for 'Cache-Control'

This commit is contained in:
Marco
2017-07-21 06:20:30 +02:00
parent 63734fc5ee
commit 449e1c69ee

View File

@@ -94,7 +94,7 @@ final class Auth extends UserManager {
header('X-Content-Type-Options: nosniff');
// disable caching of potentially sensitive data
header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0', true);
header('Cache-Control: no-store, no-cache, must-revalidate', true);
header('Expires: Thu, 19 Nov 1981 00:00:00 GMT', true);
header('Pragma: no-cache', true);
}