mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
monkeysphere: Clarify arguments for import actions
This commit is contained in:
1 parent
79edbd6195
commit
cc6f44d87e
2 files changed
+7
-6
No files matched your search
@@ -54,7 +54,7 @@ def generate(request, domain):
|
||||
if valid_domain:
|
||||
try:
|
||||
actions.superuser_run(
|
||||
'monkeysphere', ['host-import-ssh-key', 'ssh://' + domain])
|
||||
'monkeysphere', ['host-import-ssh-key', domain])
|
||||
messages.success(request, _('Generated OpenPGP key.'))
|
||||
except actions.ActionError as exception:
|
||||
messages.error(request, str(exception))
|
||||
@@ -70,7 +70,7 @@ def generate_https(request, domain):
|
||||
if valid_domain:
|
||||
try:
|
||||
actions.superuser_run(
|
||||
'monkeysphere', ['host-import-https-key', 'https://' + domain])
|
||||
'monkeysphere', ['host-import-https-key', domain])
|
||||
messages.success(request, _('Generated OpenPGP key.'))
|
||||
except actions.ActionError as exception:
|
||||
messages.error(request, str(exception))
|
||||
|
||||
Reference in new issue
Block a user