Manual:$wgAutocreatePolicy/en

From Linux Web Expert

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

Details

File:OOjs UI icon alert-destructive.svg <translate> Caution:</translate> 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'.