diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/LoginCtrl.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js index 82742497..bf383320 100644 --- a/www/js/LoginCtrl.js +++ b/www/js/LoginCtrl.js @@ -286,6 +286,10 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r .then (function (data) { // 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:"); + var c=URI.parse($scope.loginData.url); var p1,p2,p3,text; p1 =""; |
