Commit 1e74766e authored by Leigh B. Stoller's avatar Leigh B. Stoller

Support for a private emulab trac wiki, readable by admins (and other

special people).
parent 71dadedb
...@@ -991,6 +991,8 @@ function DOLOGIN_MAGIC($uid, $uid_idx, $email = null, $adminon = 0) ...@@ -991,6 +991,8 @@ function DOLOGIN_MAGIC($uid, $uid_idx, $email = null, $adminon = 0)
setcookie("trac_auth_emulab", "", $flushtime, "/", setcookie("trac_auth_emulab", "", $flushtime, "/",
$TBAUTHDOMAIN, $TBSECURECOOKIES); $TBAUTHDOMAIN, $TBSECURECOOKIES);
setcookie("trac_auth_emulab_priv", "", $flushtime, "/",
$TBAUTHDOMAIN, $TBSECURECOOKIES);
setcookie("trac_auth_protogeni", "", $flushtime, "/", setcookie("trac_auth_protogeni", "", $flushtime, "/",
$TBAUTHDOMAIN, $TBSECURECOOKIES); $TBAUTHDOMAIN, $TBSECURECOOKIES);
setcookie("trac_auth_protogeni_priv", "", $flushtime, "/", setcookie("trac_auth_protogeni_priv", "", $flushtime, "/",
...@@ -1095,6 +1097,8 @@ function DOLOGOUT($user) { ...@@ -1095,6 +1097,8 @@ function DOLOGOUT($user) {
if ($TRACSUPPORT) { if ($TRACSUPPORT) {
setcookie("trac_auth_emulab", "", $timeout, "/", setcookie("trac_auth_emulab", "", $timeout, "/",
$TBAUTHDOMAIN, 0); $TBAUTHDOMAIN, 0);
setcookie("trac_auth_emulab_priv", "", $timeout, "/",
$TBAUTHDOMAIN, 0);
setcookie("trac_auth_protogeni", "", $timeout, "/", setcookie("trac_auth_protogeni", "", $timeout, "/",
$TBAUTHDOMAIN, 0); $TBAUTHDOMAIN, 0);
setcookie("trac_auth_protogeni_priv", "", $timeout, "/", setcookie("trac_auth_protogeni_priv", "", $timeout, "/",
......
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