summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-05-31 19:27:22 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-05-31 19:31:36 +0200
commit8885796e801e935d9123ff4163287e08f2d115ce (patch)
treeca1b31d029d66d962140134f1a40dd3141859a02
parent5b5950e51dfddd0a0141c8a475d0729f304d5b44 (diff)
downloadaur-8885796e801e935d9123ff4163287e08f2d115ce.tar.gz
aur-8885796e801e935d9123ff4163287e08f2d115ce.tar.xz
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>
-rw-r--r--web/html/account.php3
-rw-r--r--web/template/account_edit_form.php2
2 files changed, 2 insertions, 3 deletions
diff --git a/web/html/account.php b/web/html/account.php
index a4c630e1..cb33c4eb 100644
--- a/web/html/account.php
+++ b/web/html/account.php
@@ -124,7 +124,8 @@ if (isset($_COOKIE["AURSID"])) {
process_account_form("new", "NewAccount",
in_request("U"), 1, 0, in_request("E"),
'', '', in_request("R"), in_request("L"),
- in_request("I"), in_request("K"));
+ in_request("I"), in_request("K"),
+ in_request("PK"));
} else {
# display the account request form
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 415c086b..f9887142 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -114,7 +114,6 @@
</p>
</fieldset>
- <?php if ($A == "UpdateAccount"): ?>
<fieldset>
<legend><?= __("The following information is only required if you want to submit packages to the Arch User Repository.") ?></legend>
<p>
@@ -122,7 +121,6 @@
<textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea>
</p>
</fieldset>
- <?php endif; ?>
<fieldset>
<p>