All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit fd4a01d2 authored by Leigh B Stoller's avatar Leigh B Stoller

Change the landing for the Emulab Portal; go to profiles/experiments

when user has only classic experiments, rather then instantiate page.
parent b963df8e
......@@ -62,6 +62,12 @@ if ($this_user) {
elseif (Profile::UserHasProfiles($this_user)) {
header("Location: $APTBASE/user-dashboard.php#profiles");
}
elseif ($ISEMULAB && $this_user->PCsInUse()) {
header("Location: $APTBASE/user-dashboard.php");
}
elseif ($ISEMULAB && $this_user->ExperimentList(0)) {
header("Location: $APTBASE/user-dashboard.php#profiles");
}
else {
header("Location: $APTBASE/instantiate.php");
}
......
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