Fix user settings on login.
This commit is contained in:
parent
0c6718ba50
commit
b45c623bc6
@ -13,3 +13,5 @@ Installation nodes.
|
|||||||
- logon.js will force users to ansitex shell - to make a ini config setting for this
|
- logon.js will force users to ansitex shell - to make a ini config setting for this
|
||||||
- Optionally System -> New User Values -> Shells ->Ansitex
|
- Optionally System -> New User Values -> Shells ->Ansitex
|
||||||
- Optionally Edit users and change their shell.
|
- 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
|
||||||
|
8
logon.js
8
logon.js
@ -11,8 +11,10 @@ system.settings |= (SYS_NOSYSINFO | SYS_NONODELIST);
|
|||||||
// @note: Unable to suppress "Logging on to <BBS> as <USER>..."
|
// @note: Unable to suppress "Logging on to <BBS> as <USER>..."
|
||||||
|
|
||||||
// Need to suppress Search for new messages & files
|
// Need to suppress Search for new messages & files
|
||||||
user.settings &= ~(USER_ASK_SSCAN & USER_ASK_NSCAN & USER_ANFSCAN);
|
user.settings &= ~(USER_ASK_SSCAN | USER_ASK_NSCAN | USER_ANFSCAN | USER_PAUSE | USER_NO_EXASCII);
|
||||||
user.settings &= ~USER_PAUSE;
|
|
||||||
|
|
||||||
// Enable ANSI and some other settings
|
// 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);
|
||||||
|
Loading…
Reference in New Issue
Block a user