Merge pull request 'Set the autocreate permission for Mediawiki users' (#220) from bugfix/219-ldap_autocreate_wiki into master

Reviewed-on: #220
This commit is contained in:
Râu Cao 2020-10-06 13:56:05 +00:00
commit d1c9cf853f
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ wfLoadExtension( 'LDAPAuthentication2' );
# Disable account creation page, since this is not possible to create an account
# when only LDAP login is enabled
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['*']['autocreateaccount'] = true;
EOF
)