Backups: allow testing the connection of ssh locations

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Michael Pimmer authored and James Valleroy committed 2018-12-13 18:27:17 -05:00
1 parent b6d1237c0c
commit 4eeceaa695
8 files changed
+173 -30

No files matched your search

+3 -1
View File
@@ -146,7 +146,9 @@ class UserUpdateForm(ValidNewUsernameCheckMixin,
plinth.forms.LanguageSelectionFormMixin, forms.ModelForm):
"""When user info is changed, also updates LDAP user."""
ssh_keys = forms.CharField(
label=ugettext_lazy('SSH Keys'), required=False, widget=forms.Textarea,
label=ugettext_lazy('Authorized SSH Keys'),
required=False,
widget=forms.Textarea,
help_text=ugettext_lazy(
'Setting an SSH public key will allow this user to '
'securely log in to the system without using a '