Copy passphrase into repeatpasshrase to avoid mismatch warnings on edit

This commit is contained in:
Kenneth Skovhede
2015-09-23 12:16:33 +02:00
parent 5307676a6f
commit e03314db1d
@@ -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'];