Jump to content

Manual:$wgAutocreatePolicy

From mediawiki.org
Authentication: $wgAutocreatePolicy
Policy to create new accounts with external authentication.
Introduced in version:1.16.0 (r53497)
Removed in version:1.22.0 (Gerrit change 54900; git #36cade5f)
Allowed values:(string)
Default value:'login'

Details

Caution! Caution: This functionality is still experimental.

$wgAutocreatePolicy controls account auto-creation behavior when external authentication is enabled. (See $wgExternalAuthType and $wgExternalAuthConfig for details.)

$wgAutocreatePolicy can be set to one of three values:

  • never - do not automatically create new accounts.
  • login – create new accounts on user login. This is the default setting.
  • view - not currently implemented. Will require the external database to support cookies and implies 'login'.