import: add seal option
This commit is contained in:
@@ -1417,7 +1417,17 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
remotePath: '',
|
||||
password: '',
|
||||
encryptedFilenames: true,
|
||||
mountOptions: {}, // host, port, username, password, remoteDir, diskPath, user, privateKey
|
||||
mountOptions: {
|
||||
host: '',
|
||||
remoteDir: '',
|
||||
username: '',
|
||||
password: '',
|
||||
diskPath: '',
|
||||
user: '',
|
||||
seal: true,
|
||||
port: 22,
|
||||
privateKey: ''
|
||||
},
|
||||
encrypted: false, // helps with ng-required when backupConfig is read from file
|
||||
|
||||
clearForm: function () {
|
||||
@@ -1435,7 +1445,7 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
$scope.importBackup.password = '';
|
||||
$scope.importBackup.encryptedFilenames = true;
|
||||
$scope.importBackup.remotePath = '';
|
||||
$scope.importBackup.mountOptions = {};
|
||||
$scope.importBackup.mountOptions = { host: '', remoteDir: '', username: '', password: '', diskPath: '', seal: true, user: '', port: 22, privateKey: '' };
|
||||
},
|
||||
|
||||
submit: function () {
|
||||
|
||||
Reference in New Issue
Block a user