| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| module:login [2019/07/15 22:37] – [Login] Document the new fast-login related options (default: disabled) digital man | module:login [2026/03/25 22:50] (current) – Update link to login.js, add new login_prompt and password_prompt options digital man |
|---|
| The name of the login module (by default, ''login'') is configured in [[util:SCFG]]->System->Loadable Modules->Login. | The name of the login module (by default, ''login'') is configured in [[util:SCFG]]->System->Loadable Modules->Login. |
| |
| The [[http://cvs.synchro.net/cgi-bin/viewcvs.cgi/exec/login.js|default login module]] is ''[[dir:exec]]/login.js'' and supports the following configuration options in the ''[login]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: | The [[https://gitlab.synchro.net/main/sbbs/-/blob/master/exec/login.js|default login module]] is ''[[dir:exec]]/login.js'' and supports the following configuration options in the ''[login]'' section of the ''[[dir:ctrl]]/[[config:modopts.ini]]'' file: |
| |
| ^ Option ^ Default ^ Description ^ | ^ Option ^ Default ^ Description ^ |
| | email_passwords | true | Send forgotten passwords to users via [[server:mail|email (SMTP)]] | | | email_passwords | ''true'' | Send forgotten passwords to users via [[server:mail|email (SMTP)]] | |
| | confirm_email_address | true | Requires user to confirm their email address before sending a forgotten password | | | confirm_email_address | ''true'' | Requires user to confirm their email address before sending a forgotten password | |
| | login_prompts | 10 | Maximum number of login prompts to display before disconnecting | | | login_prompts | ''10'' | Maximum number of login prompts to display before disconnecting | |
| | inactive_hangup | 30 | Seconds of dumb-terminal (e.g. non-ANSI) user/bot inactivity before disconnecting | | | login_prompt | <see code> | Override default dynamically-generated //login// prompt | |
| | fast_logon | false | When ''true'', allows users to choose a fast-logon by adding the fast_logon_char (e.g. ''!'') in front of their user name or number at the ''Login:'' prompt | | | password_prompt | <see code> | Override default //password// prompt | |
| | fast_logon_char | ''!'' | Fast-logon username / number prefix character used to detect a user-chosen fast-logon | | | guest | ''true'' | Display the "or Guest" login suggestion when a "Guest" user account exists | |
| | fast_logon_requirements | //none// | An [[access:requirements|access requirements string]] that specifies a subset of users which may use the fast-logon option | | | legacy_prompts | ''false'' | Send legacy name/number/password prompts (''NN:'' and ''PW:'') followed by bare carriage returns, to support really old login scripts | |
| |
| ===== Customize ===== | ===== Customize ===== |