Add seal option to restore ui
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user