diff --git a/exec/binkit.js b/exec/binkit.js index 68e74ea7f426133c929381f12406bd5cefd21110..a7c6c559a1c87934dd827b87aafc42090c514835 100644 --- a/exec/binkit.js +++ b/exec/binkit.js @@ -195,7 +195,7 @@ function callout_auth_cb(mode, bp) */ var addrs = []; - if (bp.cb_data.binkitpw === undefined) + if (bp.cb_data.binkitpw === undefined || bp.cb_data.binkitpw === '-') addrs.push(bp.binkit_to_addr); else { bp.remote_addrs.forEach(function(addr) { diff --git a/exec/load/fidocfg.js b/exec/load/fidocfg.js index 58f52423813c1d3e7bd166d540d2793ea0bb34f4..67552b64214ce89c5ae67c8abe5de99bf182dd88 100644 --- a/exec/load/fidocfg.js +++ b/exec/load/fidocfg.js @@ -321,7 +321,7 @@ function BinkITCfg() var sec = section.toLowerCase(); this.node[sec] = {}; - this.node[sec].pass = f.iniGetValue(section, 'Password', '-'); + this.node[sec].pass = f.iniGetValue(section, 'Password'); this.node[sec].nomd5 = f.iniGetValue(section, 'AllowPlainPassword'); this.node[sec].port = f.iniGetValue(section, 'Port'); if (this.node[sec].nomd5 == undefined)