Commit 0b23eb83 authored by rswindell's avatar rswindell
Browse files

Fix reserved logic of 'nomd5' option check:

nomd5 means "plain-text passwords are okay" (AllowPlainPasswords=true)
parent 89c17002
......@@ -839,7 +839,7 @@ function inbound_auth_cb(pwd, bp)
else {
// TODO: Deal with arrays of passwords?
if (bp.cb_data.binkitcfg.node[addr].nomd5)
if (!bp.cb_data.binkitcfg.node[addr].nomd5) // AllowPlainPasswords=false
log(LOG_WARNING, "CRAM-MD5 required (and not provided) by " + addr);
else if (bp.cb_data.binkitcfg.node[addr].pass === pwd[0]) {
log(LOG_INFO, "Plain-text password match for " + addr);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment