Skip to content

Commit

Permalink
BLT-1304: Fixes #1304 default no cache setting for SAML. (#1306)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebrowning authored and grasmash committed Apr 4, 2017
1 parent e40be66 commit 9065d7d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/simplesamlphp/acquia_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@
// Change these for your installation
$config['secretsalt'] = 'y0h9d13pki9qdhfm3l5nws4jjn55j6hj';
$config['auth.adminpassword'] = 'mysupersecret';
// Prevent Varnish from interfering with SimpleSAMLphp.
setcookie('NO_CACHE', '1');

// Uncomment this line to allow users to be automatically logged in if they
// signed in via the same SAML provider on another site.
// Warning: This has performance implications for anonymous users.
// Read more here: https://docs.acquia.com/articles/using-simplesamlphp-acquia-cloud-site
// setcookie('NO_CACHE', '1');

if (empty($_ENV['AH_SITE_ENVIRONMENT'])) {
// add any local configuration here
} else {
Expand Down

0 comments on commit 9065d7d

Please sign in to comment.