mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-15 09:51:21 +00:00
Backups: notify that credentials of remote backups are stored
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
fc9e406bf8
commit
a5ab22babf
@ -104,8 +104,7 @@ class AddRepositoryForm(forms.Form):
|
||||
label=_('Encryption'),
|
||||
help_text=format_lazy(
|
||||
_('"Key in Repository" means that a '
|
||||
'password-protected key is stored with the backup. <br />'
|
||||
'<b>You need this password to restore a backup!</b>')),
|
||||
'password-protected key is stored with the backup.')),
|
||||
choices=[('repokey', 'Key in Repository'), ('none', 'None')]
|
||||
)
|
||||
encryption_passphrase = forms.CharField(
|
||||
|
||||
@ -30,6 +30,15 @@
|
||||
|
||||
{{ form|bootstrap }}
|
||||
|
||||
<div class="alert alert-warning" role="alert">
|
||||
{% blocktrans trimmed %}
|
||||
The credentials for this repository are stored on your {{ box_name }}.
|
||||
<br />
|
||||
To restore a backup on a new {{ box_name }} you need the ssh
|
||||
credentials and, if chosen, the encryption passphrase.
|
||||
{% endblocktrans %}
|
||||
</div>
|
||||
|
||||
<input type="submit" class="btn btn-primary"
|
||||
value="{% trans "Create Repository" %}"/>
|
||||
<a class="abort btn btn-sm btn-default"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user