Fixed upload bug introduced by new AngularJS in latest firmware

This commit is contained in:
sud0nick 2018-01-06 13:44:58 -05:00
parent 6653acdbbc
commit 84b4e75af9
2 changed files with 2 additions and 2 deletions

View File

@ -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") {

View File

@ -6,5 +6,5 @@
"tetra"
],
"title": "Portal Auth",
"version": "1.4"
"version": "1.5"
}