feat: remove empty lines from ssh_keys text area, and show helpful message

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
Leonidas Spyropoulos 2022-10-27 15:49:48 +01:00
parent 7e06823e58
commit 48e5dc6763
No known key found for this signature in database
GPG key ID: 59E43E106B247368
4 changed files with 38 additions and 4 deletions

View file

@ -264,6 +264,13 @@
<textarea id="id_ssh" name="PK"
rows="5" cols="30">{{ ssh_pks | join("\n") }}</textarea>
</p>
<p>
<em>
{{
"Specify multiple SSH Keys separated by new line, empty lines are ignored." | tr
}}
</em>
</p>
</fieldset>
<fieldset>