Commit 1e74766e authored by Leigh Stoller's avatar Leigh 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)
setcookie("trac_auth_emulab", "", $flushtime, "/",
$TBAUTHDOMAIN, $TBSECURECOOKIES);
setcookie("trac_auth_emulab_priv", "", $flushtime, "/",
$TBAUTHDOMAIN, $TBSECURECOOKIES);
setcookie("trac_auth_protogeni", "", $flushtime, "/",
$TBAUTHDOMAIN, $TBSECURECOOKIES);
setcookie("trac_auth_protogeni_priv", "", $flushtime, "/",
......@@ -1095,6 +1097,8 @@ function DOLOGOUT($user) {
if ($TRACSUPPORT) {
setcookie("trac_auth_emulab", "", $timeout, "/",
$TBAUTHDOMAIN, 0);
setcookie("trac_auth_emulab_priv", "", $timeout, "/",
$TBAUTHDOMAIN, 0);
setcookie("trac_auth_protogeni", "", $timeout, "/",
$TBAUTHDOMAIN, 0);
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