summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-05-05 12:35:38 -0400
committerpliablepixels <pliablepixels@gmail.com>2016-05-05 12:35:38 -0400
commit7708182b9fa22f30e076d14a9ce8637a1fa9fa23 (patch)
tree329e9791fdfe39669b580b085a3f8bb5b7074887 /www/js/LoginCtrl.js
parente337593cc65dac19eeb29fc99b7def02fdbc55ed (diff)
#241 - refetch ZM_IMAGE_DIGITS on server change
Former-commit-id: 3b972ba5ad969f4f8134f6fa2fcf799f5019b360
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index 4d569658..100398ad 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -652,8 +652,9 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
portalurl = $scope.loginData.url + '/index.php';
}
+ // possible image digits changed between servers
+ ZMDataModel.getKeyConfigParams(0);
-
ZMDataModel.zmLog("Validating APIs at " + apiurl);
$http.get(apiurl)
.success(function (data) {