Show the SSH key field on the registration page

Now that we have a short explanation on how we use the SSH public key,
we can show that field on the registration page.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2015-05-31 19:27:22 +02:00
parent 5b5950e51d
commit 8885796e80
2 changed files with 2 additions and 3 deletions

View file

@ -124,7 +124,8 @@ if (isset($_COOKIE["AURSID"])) {
process_account_form("new", "NewAccount", process_account_form("new", "NewAccount",
in_request("U"), 1, 0, in_request("E"), in_request("U"), 1, 0, in_request("E"),
'', '', in_request("R"), in_request("L"), '', '', in_request("R"), in_request("L"),
in_request("I"), in_request("K")); in_request("I"), in_request("K"),
in_request("PK"));
} else { } else {
# display the account request form # display the account request form

View file

@ -114,7 +114,6 @@
</p> </p>
</fieldset> </fieldset>
<?php if ($A == "UpdateAccount"): ?>
<fieldset> <fieldset>
<legend><?= __("The following information is only required if you want to submit packages to the Arch User Repository.") ?></legend> <legend><?= __("The following information is only required if you want to submit packages to the Arch User Repository.") ?></legend>
<p> <p>
@ -122,7 +121,6 @@
<textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea> <textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea>
</p> </p>
</fieldset> </fieldset>
<?php endif; ?>
<fieldset> <fieldset>
<p> <p>