diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2017-02-11 18:05:03 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2017-02-11 18:05:03 -0500 |
| commit | 85e4e5326e79c5f5304a25e31f129b69ed647a8d (patch) | |
| tree | 9a1cd57cdee9985ecfe2022c42c9caa883e378b4 /www/js/LoginCtrl.js | |
| parent | 9cf314cc8ca5f57148bfa8d503bc9698bfec9ac4 (diff) | |
various fixes for the odd "no connection" issue
Diffstat (limited to 'www/js/LoginCtrl.js')
| -rw-r--r-- | www/js/LoginCtrl.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js index 5424dbd4..300e4fbf 100644 --- a/www/js/LoginCtrl.js +++ b/www/js/LoginCtrl.js @@ -638,9 +638,12 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r // lets logout NVRDataModel.debug("Logging out of current session..."); $rootScope.authSession = "undefined"; + + $http( { method: 'POST', + timeout:10000, //withCredentials: true, url: $scope.loginData.url + '/index.php', headers: |
