Jump to content

Руководство:$wgAutocreatePolicy

From mediawiki.org
This page is a translated version of the page Manual:$wgAutocreatePolicy and the translation is 8% complete.
Аутентификация: $wgAutocreatePolicy
Policy to create new accounts with external authentication.
Введено в версии:1.16.0 (r53497)
Удалено в версии:1.22.0 (Gerrit change 54900; git #36cade5f)
Допустимые значения:(string)
Значение по умолчанию:'login'

Details

Осторожно! Предупреждение: 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.
  • logincreate 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'.