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 4f28fc77 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor fixes for join project in the URL.

parent f0bea4de
<?php
#
# Copyright (c) 2000-2017 University of Utah and the Flux Group.
# Copyright (c) 2000-2018 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -149,8 +149,16 @@ if (! isset($create)) {
$errors = array();
# Default to start
$defaults["startorjoin"] = "start";
$joinproject = 0;
if (!isset($joinproject)) {
$joinproject = 0;
$defaults["startorjoin"] = "start";
}
elseif ($joinproject) {
$defaults["startorjoin"] = "join";
}
else {
$defaults["startorjoin"] = "start";
}
if ($this_user && $promoting) {
$defaults["uid"] = $this_user->uid();
......
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