Add seal option to restore ui

This commit is contained in:
Johannes Zellner
2022-01-10 16:30:12 +01:00
parent 1ed91f40ab
commit df85a70ccc
2 changed files with 9 additions and 0 deletions

View File

@@ -49,6 +49,7 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien
password: '',
diskPath: '',
user: '',
seal: false,
port: 22,
privateKey: ''
};
@@ -276,6 +277,7 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien
if (backupConfig.provider === 'cifs') {
backupConfig.mountOptions.username = $scope.mountOptions.username;
backupConfig.mountOptions.password = $scope.mountOptions.password;
backupConfig.mountOptions.seal = $scope.mountOptions.seal;
} else if (backupConfig.provider === 'sshfs') {
backupConfig.mountOptions.user = $scope.mountOptions.user;
backupConfig.mountOptions.port = $scope.mountOptions.port;