summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2016-03-31 14:33:43 +0200
committerJaime Perez Crespo <jaime.perez@uninett.no>2016-03-31 14:33:43 +0200
commit6a871971291628a1eb1eee79b726d9051e69b2fa (patch)
treebf7d251cc3251ffc850dd2f870f8d6d34cdcf01d
parentfca6170f619fc1a224bec3fe58380a539202cd74 (diff)
downloadsimplesamlphp-6a871971291628a1eb1eee79b726d9051e69b2fa.zip
simplesamlphp-6a871971291628a1eb1eee79b726d9051e69b2fa.tar.gz
simplesamlphp-6a871971291628a1eb1eee79b726d9051e69b2fa.tar.bz2
Creating a session doesn't seem the way to NOT create a session. Stop creating a transient session, it only causes trouble.
-rwxr-xr-xmodules/metarefresh/bin/metarefresh.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/metarefresh/bin/metarefresh.php b/modules/metarefresh/bin/metarefresh.php
index c12e1aa..bad5c37 100755
--- a/modules/metarefresh/bin/metarefresh.php
+++ b/modules/metarefresh/bin/metarefresh.php
@@ -13,8 +13,6 @@ $baseDir = dirname(dirname(dirname(dirname(__FILE__))));
// Add library autoloader.
require_once($baseDir . '/lib/_autoload.php');
-SimpleSAML_Session::useTransientSession(); /* No need to try to create a session here. */
-
if(!SimpleSAML\Module::isModuleEnabled('metarefresh')) {
echo("You need to enable the metarefresh module before this script can be used.\n");
echo("You can enable it by running the following command:\n");