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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user