summaryrefslogtreecommitdiff
path: root/www/js/DataModel.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-09-29 11:50:53 -0400
committerPliable Pixels <pliablepixels@gmail.com>2018-09-29 11:50:53 -0400
commit57920cc5d5e96780e13a29c04a577d4c67496aba (patch)
tree67b4af499e0594c621f60e9a268363efe44399e7 /www/js/DataModel.js
parentebe04f8fc791413131c37425998be5be4a2ef538 (diff)
#709 encorce AUTH_HASH_LOGIN for mobile
Diffstat (limited to 'www/js/DataModel.js')
-rw-r--r--www/js/DataModel.js8
1 files changed, 8 insertions, 0 deletions
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();