Skip to content

Commit 564f533

Browse files
committed
Fix user html. add user variable to backup.js
1 parent 39ee501 commit 564f533

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

backup/static/backup/backup.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ app.controller('restoreWebsiteControl', function ($scope, $http, $timeout) {
416416
});
417417

418418

419-
//*** Resotre site ends here ***///
419+
//*** Restore site ends here ***///
420420

421421

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

backup/templates/backup/backupDestinations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h3 class="title-hero">
5151
<div class="form-group">
5252
<label class="col-sm-3 control-label">{% trans "User" %}</label>
5353
<div class="col-sm-6">
54-
<input placeholder="{% trans "Backup server SSH User, leave empty for root." %}" type="text" class="form-control" ng-model="backupSSHPort" required>
54+
<input placeholder="{% trans "Backup server SSH User, leave empty for root." %}" type="text" class="form-control" ng-model="user" required>
5555
</div>
5656
</div>
5757

0 commit comments

Comments
 (0)