Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add no-store header to prevent back-button after logout
  • Loading branch information
collectiveaccess committed Sep 27, 2021
1 parent 23bb11f commit 84eb9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -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
Expand Down

0 comments on commit 84eb9dd

Please sign in to comment.