summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-06-03 16:37:50 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-12-27 12:42:12 +0100
commit253e76d8cc718acef6bab802c76c4a70623b59cc (patch)
treedf58aad0e2846690f12a23b56e1a5472602d6721 /web/template
parent1af375828f7c4ef11e63e09e1070a9f77b679d71 (diff)
downloadaurweb-253e76d8cc718acef6bab802c76c4a70623b59cc.tar.xz
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 <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r--web/template/account_edit_form.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 17dd937..996c207 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -98,6 +98,11 @@
</p>
<p>
+ <label for="id_ssh"><?= __("SSH Public Key") ?>:</label>
+ <textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea>
+ </p>
+
+ <p>
<label for="id_language"><?= __("Language") ?>:</label>
<select name="L" id="id_language">
<?php