Default to using SSL if the page is using it as well
This commit is contained in:
parent
f114adc5f0
commit
0de5511544
1 changed files with 1 additions and 1 deletions
|
@ -841,7 +841,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
|||
$store.bind($scope, "host", "localhost");
|
||||
$store.bind($scope, "port", "9001");
|
||||
$store.bind($scope, "proto", "weechat");
|
||||
$store.bind($scope, "ssl", false);
|
||||
$store.bind($scope, "ssl", (window.location.protocol === "https:"));
|
||||
$store.bind($scope, "savepassword", false);
|
||||
if ($scope.savepassword) {
|
||||
$store.bind($scope, "password", "");
|
||||
|
|
Loading…
Reference in a new issue