Commit 446a0cc8 authored by Leigh Stoller's avatar Leigh Stoller

More brutality to support a private protogeni trac wiki.

parent 16428408
......@@ -59,6 +59,11 @@ if (!preg_match("/^(\w*)$/", $suexec_output, $matches)) {
}
setcookie($TRACCOOKIENAME,
$matches[1], 0, "/", $TBAUTHDOMAIN, $TBSECURECOOKIES);
if ($wiki == "protogeni") {
$TRACCOOKIENAME = "trac_auth_${wiki}_priv";
setcookie($TRACCOOKIENAME,
$matches[1], 0, "/", $TBAUTHDOMAIN, $TBSECURECOOKIES);
}
header("Location: ${TRACURL}");
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment