diff options
| author | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-28 13:46:28 -0400 |
|---|---|---|
| committer | Arjun Roychowdhury <pliablepixels@gmail.com> | 2015-10-28 13:46:28 -0400 |
| commit | 50ea96b8ef90ab49aabdf67450496eeaf738c226 (patch) | |
| tree | 5f6b722e01145afaf9658bb42575ca8b1ae203a8 | |
| parent | 4218008533f0d70bbe84c1b6866e2a455ab9eaf4 (diff) | |
#52 - if https is manually entered I'll switch on the SSL toggle
| -rw-r--r-- | www/js/LoginCtrl.js | 3 |
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; |
