mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
4fc1c2c10c
commit
3d12d3888a
1 changed files with 2 additions and 0 deletions
|
@ -97,10 +97,12 @@
|
||||||
<input type="text" size="30" maxlength="50" name="K" id="id_pgp" value="<?= html_format_pgp_fingerprint($K) ?>" />
|
<input type="text" size="30" maxlength="50" name="K" id="id_pgp" value="<?= html_format_pgp_fingerprint($K) ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<?php if ($A == "UpdateAccount"): ?>
|
||||||
<p>
|
<p>
|
||||||
<label for="id_ssh"><?= __("SSH Public Key") ?>:</label>
|
<label for="id_ssh"><?= __("SSH Public Key") ?>:</label>
|
||||||
<textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea>
|
<textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea>
|
||||||
</p>
|
</p>
|
||||||
|
<?php endif; ?>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<label for="id_language"><?= __("Language") ?>:</label>
|
<label for="id_language"><?= __("Language") ?>:</label>
|
||||||
|
|
Loading…
Add table
Reference in a new issue