Skip to content
Snippets Groups Projects
Commit b96007ec authored by rswindell's avatar rswindell
Browse files

Fix bug reported by pfortran:

If a SessionPwd (in sbbsecho.ini) value was (just) a number, it would
barf-up binkp.js and cause an authentication BinkP failure for that node.
parent 725f8425
No related branches found
No related tags found
No related merge requests found
......@@ -334,7 +334,7 @@ function BinkITCfg()
return; // Ignore addresses with wildcards (e.g. 'ALL')
}
this.node[sec] = {};
this.node[sec].pass = f.iniGetValue(section, 'SessionPwd');
this.node[sec].pass = f.iniGetValue(section, 'SessionPwd', '');
this.node[sec].nomd5 = f.iniGetValue(section, 'BinkpAllowPlainAuth', false);
this.node[sec].nocrypt = f.iniGetValue(section, 'BinkpAllowPlainText', false);
this.node[sec].plain_auth_only = f.iniGetValue(section, 'BinkpPlainAuthOnly', false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment