Skip to content
GitLab
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
f0d7c83e
Commit
f0d7c83e
authored
Jul 11, 2014
by
Leigh B Stoller
Browse files
Fix permission denied error when guest returns to existing experiment.
parent
87c0740f
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/instantiate.php
View file @
f0d7c83e
...
...
@@ -511,6 +511,11 @@ if (!$this_user &&
if
(
$geniuser
)
{
$instance
=
Instance
::
LookupByCreator
(
$geniuser
->
uuid
());
if
(
$instance
&&
$instance
->
status
()
!=
"terminating"
)
{
# Reset this cookie so status page is happy and so we
# will stop asking.
setcookie
(
"quickvm_user"
,
$geniuser
->
uuid
(),
time
()
+
(
24
*
3600
*
30
),
"/"
,
$TBAUTHDOMAIN
,
0
);
header
(
"Location: status.php?uuid="
.
$instance
->
uuid
());
return
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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