diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-31 19:27:22 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-05-31 19:31:36 +0200 |
commit | 8885796e801e935d9123ff4163287e08f2d115ce (patch) | |
tree | ca1b31d029d66d962140134f1a40dd3141859a02 | |
parent | 5b5950e51dfddd0a0141c8a475d0729f304d5b44 (diff) | |
download | aurweb-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.php | 3 | ||||
-rw-r--r-- | web/template/account_edit_form.php | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/web/html/account.php b/web/html/account.php index a4c630e..cb33c4e 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 415c086..f988714 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> |