====== Login Modules ======

The **login module** is what handles everything between connection and the [[user:shell:|command shell]] — the matrix screen (if any), the ''Login:'' / ''Password:'' prompts, the new-user signup flow, and any pre-logon banners or chooser screens. It's a [[:module:|loadable module]] (default ''login''; source: ''[[dir:exec]]/login.js''), not part of the shell, and a sysop can swap it out for a custom one.

===== Stock login module =====

  * [[user:login:default|Default login (''login.js'')]] — the standard ''Login:'' / ''Password:'' flow
  * [[user:login:newuser|New User Registration]] — the new-user signup flow (''newuser_prompts'', ''newuser_signup'', ''newuser'' modules)

===== Other modules invoked around logon =====

These are also loadable modules called by Synchronet (not by the shell) at specific points in the logon sequence:

  * Logon module (default ''logon'') — runs after successful authentication, before the shell starts
  * Logoff module — runs at logoff
  * Logout module — runs at session disconnection
  * New User Prompts (default ''newuser_prompts'') — collects new-user info during signup
  * New User Info (default ''newuser_info'') — informational display for new users
  * New User Created (default ''newuser'') — runs after a new account is created
  * Expired User — runs when an expired account logs on

===== See Also =====

  * [[:module:login|login module]] (sysop-side reference)
  * [[:module:newuser|newuser module]]
  * [[user:|User Documentation]]
  * [[config:system#loadable_modules|SCFG -> System -> Loadable Modules]]

{{tag>user login module}}
