Changed bin files to bound by 40 chars, added *981 (registration) and *983 (login failed) frames

This commit is contained in:
2024-12-09 14:08:33 +11:00
parent f57f102641
commit 41940a0a70
21 changed files with 22 additions and 12 deletions

View File

@@ -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();