summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js3
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: