Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
a2beb164
Commit
a2beb164
authored
Dec 23, 2010
by
Leigh B Stoller
Browse files
Fix minor bugs in previous revisions.
parent
4861cf13
Changes
1
Show whitespace changes
Inline
Side-by-side
www/tbauth.php3
View file @
a2beb164
...
...
@@ -1067,7 +1067,7 @@ function DOLOGIN_MAGIC($uid, $uid_idx, $email = null, $adminon = 0)
# Proj-vis cookies
if
(
$EXP_VIS
)
{
setcookie
(
"exp_vis_session"
,
$opskey
,
0
,
"/"
,
$TBAUTHDOMAIN
,
0
);
SUEXEC
(
$uid
,
"nobody"
,
"write-vis-auth &"
,
$
SUEXEC_ACTION_CONTINUE
);
SUEXEC
(
$uid
,
"nobody"
,
"write-vis-auth &"
,
SUEXEC_ACTION_CONTINUE
);
}
return
0
;
...
...
@@ -1109,6 +1109,7 @@ function DOLOGOUT($user) {
return
1
;
$uid_idx
=
$user
->
uid_idx
();
$uid
=
$user
->
$uid
();
#
# An admin logging out another user. Nothing else to do.
...
...
@@ -1182,7 +1183,7 @@ function DOLOGOUT($user) {
#
if
(
$EXP_VIS
)
{
setcookie
(
"exp_vis_session"
,
""
,
$timeout
,
"/"
,
$TBAUTHDOMAIN
,
0
);
SUEXEC
(
$uid
,
"nobody"
,
"write-vis-auth &"
,
$
SUEXEC_ACTION_CONTINUE
);
SUEXEC
(
$uid
,
"nobody"
,
"write-vis-auth &"
,
SUEXEC_ACTION_CONTINUE
);
}
return
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment