Commit 16dce606 authored by Leigh Stoller's avatar Leigh Stoller

Get rid of wikiname field when not not turned on.

Minor tweak to reflect change in backend script.
parent 5fe756b1
......@@ -198,9 +198,11 @@ function SPITFORM($formfields, $returning, $errors)
<td colspan=2>*Full Name (first and last):</td>
<td class=left>
<input type=text
name=\"formfields[usr_name]\"
onchange=\"SetWikiName(myform);\"
value=\"" . $formfields["usr_name"] . "\"
name=\"formfields[usr_name]\" ";
if ($WIKISUPPORT) {
echo " onchange=\"SetWikiName(myform);\" ";
}
echo " value=\"" . $formfields["usr_name"] . "\"
size=30>
</td>
</tr>\n";
......@@ -785,7 +787,7 @@ if (! $returning) {
$args["URL"] = $formfields["usr_URL"];
}
if ($USERSELECTUIDS) {
$args["login"] = $formfields["joining_uid"];
$args["uid"] = $formfields["joining_uid"];
}
# Backend verifies pubkey and returns error.
......
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