Skip to content
Permalink
Browse files
Fix user html. add user variable to backup.js
  • Loading branch information
meramsey committed Apr 25, 2020
1 parent 39ee501 commit 564f53309da14111619501eb43c6bc3f6e0bd91d
Showing 2 changed files with 3 additions and 2 deletions.
@@ -416,7 +416,7 @@ app.controller('restoreWebsiteControl', function ($scope, $http, $timeout) {
});


//*** Resotre site ends here ***///
//*** Restore site ends here ***///


///** Backup Destination ***//
@@ -448,6 +448,7 @@ app.controller('backupDestinations', function ($scope, $http, $timeout) {
var data = {
IPAddress: $scope.IPAddress,
password: $scope.password,
user: $scope.user,
backupSSHPort: $scope.backupSSHPort,
};

@@ -51,7 +51,7 @@ <h3 class="title-hero">
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "User" %}</label>
<div class="col-sm-6">
<input placeholder="{% trans "Backup server SSH User, leave empty for root." %}" type="text" class="form-control" ng-model="backupSSHPort" required>
<input placeholder="{% trans "Backup server SSH User, leave empty for root." %}" type="text" class="form-control" ng-model="user" required>
</div>
</div>

0 comments on commit 564f533

Please sign in to comment.