Disallow specifying an SSH key during registration

Make sure that users confirm their email addresses before setting an
initial SSH key.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2014-12-29 21:25:53 +01:00
parent 4fc1c2c10c
commit 3d12d3888a

View file

@ -97,10 +97,12 @@
<input type="text" size="30" maxlength="50" name="K" id="id_pgp" value="<?= html_format_pgp_fingerprint($K) ?>" />
</p>
<?php if ($A == "UpdateAccount"): ?>
<p>
<label for="id_ssh"><?= __("SSH Public Key") ?>:</label>
<textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea>
</p>
<?php endif; ?>
<p>
<label for="id_language"><?= __("Language") ?>:</label>