From 8885796e801e935d9123ff4163287e08f2d115ce Mon Sep 17 00:00:00 2001
From: Lukas Fleischer
Date: Sun, 31 May 2015 19:27:22 +0200
Subject: 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
---
web/html/account.php | 3 ++-
web/template/account_edit_form.php | 2 --
2 files changed, 2 insertions(+), 3 deletions(-)
(limited to 'web')
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 @@