2 Commits

Author SHA1 Message Date
d1c9cf853f Merge pull request 'Set the autocreate permission for Mediawiki users' (#220) from bugfix/219-ldap_autocreate_wiki into master
Reviewed-on: #220
2020-10-06 13:56:05 +00:00
Greg Karékinian
7eaf177bb2 Set the autocreate permission for Mediawiki users
This allows LDAP sign ins to create an account automatically

Fixes #219
2020-10-06 15:51:01 +02:00

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
)