Skip to content
Snippets Groups Projects
Commit bbb46d1a authored by deuce's avatar deuce
Browse files

Add a new IgnorePassword global key to tickit.ini to completely ignore all

TIC passwords and not care if they match the packet password or not.

This imports *ALL* TIC files into the local file base, possibly overriding
existing files, so could be dangerous if you accept incoming TIC files from
anybody (which is the normal Fido setup).
parent a07310fa
Branches
Tags
No related merge requests found
......@@ -503,8 +503,14 @@ function parse_ticfile(fname)
return false;
}
}
if (!sbbsecho.match_pw(tic.from, tic.pw))
return false;
if (tickit.gcfg.ignorepassword === undefined ||
tickit.gcfg.ignorepassword.toLowerCase() == 'no' ||
tickit.gcfg.ignorepassword.toLowerCase() == 'off' ||
tickit.gcfg.ignorepassword.toLowerCase() == 'false')
if (!sbbsecho.match_pw(tic.from, tic.pw))
return false;
}
tic[' forward'] = outtic;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment