Only store password if user requests it.
This commit is contained in:
parent
09798fed53
commit
d3aa1d768d
3 changed files with 23 additions and 22 deletions
|
@ -401,12 +401,12 @@ 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, "password", "");
|
||||
$store.bind($scope, "ssl", false);
|
||||
$store.bind($scope, "lines", "40");
|
||||
// TODO checkbox for saving password or not?
|
||||
// $scope.password = "";
|
||||
//
|
||||
$store.bind($scope, "savepassword", false);
|
||||
if($scope.savepassword) {
|
||||
$store.bind($scope, "password", "");
|
||||
}
|
||||
|
||||
// Save setting for displaying only buffers with unread messages
|
||||
$store.bind($scope, "onlyUnread", false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue