From 85e4e5326e79c5f5304a25e31f129b69ed647a8d Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 11 Feb 2017 18:05:03 -0500 Subject: various fixes for the odd "no connection" issue --- www/js/LoginCtrl.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/js/LoginCtrl.js') 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: -- cgit v1.2.3