Skip to content
Snippets Groups Projects
Commit 2637bd9b authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Removed some test code from WAYF that probably was committed by a mistake...

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1780 44740490-163a-0410-bde0-09ae8108e29a
parent 11340087
No related branches found
No related tags found
No related merge requests found
...@@ -414,16 +414,7 @@ if($needAuth && !$isPassive) { ...@@ -414,16 +414,7 @@ if($needAuth && !$isPassive) {
} }
$attributes = $authProcState['Attributes']; $attributes = $authProcState['Attributes'];
$host = SimpleSAML_Utilities::getSelfHost();;
preg_match("/^(\w+)/", $host, $d);
if ($d[1] && $d[1] != 'wayf') {
setcookie($d[1], "ok", 0, "/", ".wayf.ruc.dk");
setcookie('current', $d[1], 0, "/", ".wayf.ruc.dk");
}
/* /*
* Save the time we authenticated to this SP. This can be used later to detect an * Save the time we authenticated to this SP. This can be used later to detect an
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment