Set the autocreate permission for Mediawiki users

This allows LDAP sign ins to create an account automatically

Fixes #219
This commit is contained in:
Greg 2020-10-06 15:51:01 +02:00
parent 7d2374449a
commit 7eaf177bb2
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
)