From 449e1c69ee3cf8d424d596e55c9146d64afc73a2 Mon Sep 17 00:00:00 2001 From: Marco Date: Fri, 21 Jul 2017 06:20:30 +0200 Subject: [PATCH] Remove obsolete 'pre-check' and 'post-check' for 'Cache-Control' --- src/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth.php b/src/Auth.php index 09d6b22..c798773 100644 --- a/src/Auth.php +++ b/src/Auth.php @@ -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); }