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 Karékinian 2020-10-06 15:51:01 +02:00
parent 7d2374449a
commit 7eaf177bb2

View File

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