Fix user settings on login.

This commit is contained in:
Deon George 2020-05-31 21:00:21 +10:00
parent 0c6718ba50
commit b45c623bc6
2 changed files with 7 additions and 3 deletions

View File

@ -13,3 +13,5 @@ Installation nodes.
- logon.js will force users to ansitex shell - to make a ini config setting for this
- Optionally System -> New User Values -> Shells ->Ansitex
- Optionally Edit users and change their shell.
4 - Turn off sysop password required for sysop login
- SCFG -> Toggle Options -> Require Sys Pass During Login -> No

View File

@ -11,8 +11,10 @@ system.settings |= (SYS_NOSYSINFO | SYS_NONODELIST);
// @note: Unable to suppress "Logging on to <BBS> as <USER>..."
// Need to suppress Search for new messages & files
user.settings &= ~(USER_ASK_SSCAN & USER_ASK_NSCAN & USER_ANFSCAN);
user.settings &= ~USER_PAUSE;
user.settings &= ~(USER_ASK_SSCAN | USER_ASK_NSCAN | USER_ANFSCAN | USER_PAUSE | USER_NO_EXASCII);
// Enable ANSI and some other settings
user.settings |= (USER_ANSI & USER_COLOR & USER_COLDKEYS);
user.settings |= (USER_AUTOTERM | USER_ANSI | USER_COLOR | USER_COLDKEYS);
// Disable Chatting
user.chat_settings |= (CHAT_NOPAGE | CHAT_NOACT);