aboutsummaryrefslogtreecommitdiff
path: root/gui/default/syncthing/core/syncthingController.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui/default/syncthing/core/syncthingController.js')
-rwxr-xr-xgui/default/syncthing/core/syncthingController.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js
index b31f94188..54b0a96ee 100755
--- a/gui/default/syncthing/core/syncthingController.js
+++ b/gui/default/syncthing/core/syncthingController.js
@@ -103,6 +103,7 @@ angular.module('syncthing.core')
$http.post(authUrlbase + '/password', {
username: $scope.login.username,
password: $scope.login.password,
+ stayLoggedIn: $scope.login.stayLoggedIn,
}).then(function () {
location.reload();
}).catch(function (response) {
@@ -3602,7 +3603,7 @@ angular.module('syncthing.core')
return n.match !== "";
});
};
-
+
// The showModal and hideModal functions are a bandaid for a Bootstrap
// bug (see https://github.com/twbs/bootstrap/issues/3902) that causes
// multiple consecutively shown or hidden modals to overlap which leads