summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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>