Manual:$wgAutocreatePolicy

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎polski • ‎日本語
Authentication: $wgAutocreatePolicy
Policy to create new accounts with external authentication.
Introduced in version:1.16.0 (r53497)
Removed in version:1.22.0
Allowed values:string
Default value:'login'
Other settings: Alphabetical | By function

Details[edit]

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'.