Changed bin files to bound by 40 chars, added *981 (registration) and *983 (login failed) frames
This commit is contained in:
@@ -131,9 +131,12 @@ function register(session) {
|
||||
return;
|
||||
}
|
||||
|
||||
var msg="CODE: " + code + "\n\n";
|
||||
var msg="CODE: " + code + "\r\n\r\n";
|
||||
msg += 'Please use the above code to validate your login to '+system.name+'.';
|
||||
|
||||
//log(LOG_DEBUG,' - HDR:'+JSON.stringify(hdrs));
|
||||
//log(LOG_DEBUG,' - MSG:'+JSON.stringify(msg));
|
||||
|
||||
if (! msgbase.save_msg(hdrs,msg)) {
|
||||
console.print("\r\n\1n\1h\1rERROR: \1y" + msgbase.last_error + "\1n \r\n");
|
||||
console.pause();
|
||||
|
Reference in New Issue
Block a user