From 50ea96b8ef90ab49aabdf67450496eeaf738c226 Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Wed, 28 Oct 2015 13:46:28 -0400 Subject: #52 - if https is manually entered I'll switch on the SSL toggle --- www/js/LoginCtrl.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/js') 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; -- cgit v1.2.3