diff --git a/src/translation/en.json b/src/translation/en.json
index 41df740b2..b3b9baab8 100644
--- a/src/translation/en.json
+++ b/src/translation/en.json
@@ -400,7 +400,9 @@
"uploadConcurrencyDescription": "Number of files to upload in parallel when backing up",
"copyConcurrency": "Copy Concurrency",
"copyConcurrencyDescription": "Number of remote file copies in parallel when backing up.",
- "copyConcurrencyDigitalOceanNote": "DigitalOcean Spaces rate limits at 20."
+ "copyConcurrencyDigitalOceanNote": "DigitalOcean Spaces rate limits at 20.",
+ "encryptionPasswordPlaceholder": "Passphrase used to encrypt the backups",
+ "encryptionPasswordRepeat": "Repeat Password"
}
},
"branding": {
diff --git a/src/views/backups.html b/src/views/backups.html
index 01678d7a7..c5aba6512 100644
--- a/src/views/backups.html
+++ b/src/views/backups.html
@@ -252,7 +252,12 @@
{{ 'backups.configureBackupStorage.advancedSettings' | tr }}
@@ -302,12 +307,12 @@
-
+
diff --git a/src/views/backups.js b/src/views/backups.js
index 07afa56e2..24c66cf4c 100644
--- a/src/views/backups.js
+++ b/src/views/backups.js
@@ -5,6 +5,8 @@
angular.module('Application').controller('BackupsController', ['$scope', '$location', '$rootScope', '$timeout', 'Client', function ($scope, $location, $rootScope, $timeout, Client) {
Client.onReady(function () { if (!Client.getUserInfo().isAtLeastAdmin) $location.path('/'); });
+ $scope.SECRET_PLACEHOLDER = SECRET_PLACEHOLDER;
+
$scope.config = Client.getConfig();
$scope.user = Client.getUserInfo();
$scope.memory = null; // { memory, swap }
@@ -410,6 +412,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
externalDisk: false,
format: 'tgz',
password: '',
+ passwordRepeat: '',
advancedVisible: false,
memoryTicks: [],
@@ -465,6 +468,7 @@ angular.module('Application').controller('BackupsController', ['$scope', '$locat
}
$scope.configureBackup.endpoint = $scope.backupConfig.endpoint;
$scope.configureBackup.password = $scope.backupConfig.password;
+ $scope.configureBackup.passwordRepeat = '';
$scope.configureBackup.backupFolder = $scope.backupConfig.backupFolder;
$scope.configureBackup.mountPoint = $scope.backupConfig.mountPoint;
$scope.configureBackup.format = $scope.backupConfig.format;