Skip to content
Permalink
Browse files
Add no-store header to prevent back-button after logout
  • Loading branch information
collectiveaccess committed Sep 27, 2021
1 parent 23bb11f commit 84eb9dd1ae1f94225b09c5d64b61aa525a77a0dd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -74,7 +74,7 @@
$g_response = $resp = $app->getResponse();

// Prevent caching
$resp->addHeader("Cache-Control", "no-cache, must-revalidate");
$resp->addHeader("Cache-Control", "no-cache, no-store, must-revalidate");
$resp->addHeader("Expires", "Mon, 26 Jul 1997 05:00:00 GMT");

// Security headers

0 comments on commit 84eb9dd

Please sign in to comment.