From 57920cc5d5e96780e13a29c04a577d4c67496aba Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Sat, 29 Sep 2018 11:50:53 -0400 Subject: #709 encorce AUTH_HASH_LOGIN for mobile --- www/js/DataModel.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'www/js/DataModel.js') diff --git a/www/js/DataModel.js b/www/js/DataModel.js index eeaf2f53..f400259d 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -310,6 +310,7 @@ angular.module('zmApp.controllers') + function getZmsMultiPortSupport(forceReload) { var d = $q.defer(); if (configParams.ZM_MIN_STREAMING_PORT == -1 || forceReload) { @@ -1822,6 +1823,13 @@ angular.module('zmApp.controllers') // This function returns the numdigits for padding capture images //----------------------------------------------------------------------------- + + getAuthHashLogin: function () { + + return $http.get(loginData.apiurl + '/configs/viewByName/ZM_AUTH_HASH_LOGINS.json'); + + }, + getKeyConfigParams: function (forceReload) { var d = $q.defer(); -- cgit v1.2.3