summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/js/LoginCtrl.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index 388ee33a..b968c087 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -109,6 +109,9 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
$scope.portalKeypress = function (evt) {
+ if (/^https:\/\//i.test($scope.loginData.url)) {
+ $scope.loginData.useSSL = true;
+ }
// if ($scope.loginData.streamingurl.indexOf($scope.loginData.url) !=0)
$scope.loginData.streamingurl = $scope.loginData.url;