diff --git a/PortalAuth/js/module.js b/PortalAuth/js/module.js index cd997a5..482880a 100755 --- a/PortalAuth/js/module.js +++ b/PortalAuth/js/module.js @@ -640,7 +640,7 @@ registerController('PortalAuthController', ['$api', '$scope', '$sce', '$interval $http.post("/modules/PortalAuth/api/module.php", fd, { transformRequest: angular.identity, headers: {'Content-Type': undefined} - }).success(function(response) { + }).then(function(response) { for (var key in response) { if (response.hasOwnProperty(key)) { if (response.key == "Failed") { diff --git a/PortalAuth/module.info b/PortalAuth/module.info index 9161697..66cf489 100755 --- a/PortalAuth/module.info +++ b/PortalAuth/module.info @@ -6,5 +6,5 @@ "tetra" ], "title": "Portal Auth", - "version": "1.4" + "version": "1.5" } \ No newline at end of file