Skip to content
Snippets Groups Projects
Commit af5d8604 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Set the node action to "XTRN" before running an auto-xtrn-upon-rlogin.

prextrn.js keys off of the current node action to detect if the user is
currently in the logon process. Defeat that check in this case (there is no
logon process for auto-xtrn's).
parent 8fe414e3
Branches
Tags
No related merge requests found
......@@ -42,6 +42,7 @@ if(options.email_validation == true) {
// Check if we're being asked to auto-run an external (web interface external programs section uses this)
if ((options.rlogin_auto_xtrn) && (bbs.sys_status & SS_RLOGIN) && (console.terminal.indexOf("xtrn=") === 0)) {
var external_code = console.terminal.substring(5);
bbs.node_action = NODE_XTRN;
if (!bbs.exec_xtrn(external_code)) {
alert(log(LOG_ERR,"!ERROR Unable to launch external: '" + external_code + "'"));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment