From 253e76d8cc718acef6bab802c76c4a70623b59cc Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 3 Jun 2014 16:37:50 +0200 Subject: Add support for adding SSH public keys to profiles Users can now add an SSH public key on the account edit page. This will later be used to authenticate users via SSH. Signed-off-by: Lukas Fleischer --- web/html/account.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'web/html/account.php') diff --git a/web/html/account.php b/web/html/account.php index c1a1cd7c..3dc8ef01 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -59,7 +59,7 @@ if (isset($_COOKIE["AURSID"])) { display_account_form("UpdateAccount", $row["Username"], $row["AccountTypeID"], $row["Suspended"], $row["Email"], "", "", $row["RealName"], $row["LangPreference"], - $row["IRCNick"], $row["PGPKey"], + $row["IRCNick"], $row["PGPKey"], $row["SSHPubKey"], $row["InactivityTS"] ? 1 : 0, $row["ID"]); } else { print __("You do not have permission to edit this account."); @@ -98,7 +98,8 @@ if (isset($_COOKIE["AURSID"])) { in_request("U"), in_request("T"), in_request("S"), in_request("E"), in_request("P"), in_request("C"), in_request("R"), in_request("L"), in_request("I"), - in_request("K"), in_request("J"), in_request("ID")); + in_request("K"), in_request("PK"), in_request("J"), + in_request("ID")); } } else { if (has_credential(CRED_ACCOUNT_SEARCH)) { -- cgit v1.2.3-24-g4f1b