diff options
Diffstat (limited to 'www/js/LoginCtrl.js')
| -rw-r--r-- | www/js/LoginCtrl.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js index bf383320..ea96233d 100644 --- a/www/js/LoginCtrl.js +++ b/www/js/LoginCtrl.js @@ -287,8 +287,8 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r { // coming here means we were able to login $scope.loginData.url = addhttp($scope.loginData.url); - if ($scope.loginData.useSSL) - $scope.loginData.url = $scope.loginData.url.replace("http:", "https:"); + if ($scope.loginData.useSSL) + $scope.loginData.url = $scope.loginData.url.replace("http:", "https:"); var c=URI.parse($scope.loginData.url); var p1,p2,p3,text; |
