From e03314db1df22b98d74e2c6b1e173ff151be2927 Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Wed, 23 Sep 2015 12:16:33 +0200 Subject: [PATCH] Copy passphrase into repeatpasshrase to avoid mismatch warnings on edit --- .../webroot/ngax/scripts/controllers/EditBackupController.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Duplicati/Server/webroot/ngax/scripts/controllers/EditBackupController.js b/Duplicati/Server/webroot/ngax/scripts/controllers/EditBackupController.js index 35d34dfa8..67e0c876a 100644 --- a/Duplicati/Server/webroot/ngax/scripts/controllers/EditBackupController.js +++ b/Duplicati/Server/webroot/ngax/scripts/controllers/EditBackupController.js @@ -224,6 +224,8 @@ backupApp.controller('EditBackupController', function ($scope, $routeParams, $lo $scope.ExcludeLargeFiles = $scope.Options['--skip-files-larger-than']; $scope.ExcludeAttributes = ($scope.Options['--exclude-files-attributes'] || '').split(','); + $scope.RepeatPasshrase = $scope.Options['passphrase']; + delete extopts['--skip-files-larger-than']; delete extopts['--exclude-files-attributes']; delete extopts['--no-encryption'];