Commit e371173b authored by Leigh Stoller's avatar Leigh Stoller

Allow specific profile selection in URL by uuid.

parent 804e9862
......@@ -90,6 +90,10 @@ while ($row = mysql_fetch_array($query_result)) {
if ($row["pid"] == $TBOPSPID && $row["name"] == $profile_default) {
$profile_default = $row["idx"];
}
# Look for the profile by uuid and switch to index.
if (isset($profile) && $profile == $row["uuid"]) {
$profile = $row["idx"];
}
}
function SPITFORM($username, $email, $sshkey, $profile, $newuser, $errors)
......
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