From 7eaf177bb2cb7a91fd79bb46cb3edb20963a8eb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Tue, 6 Oct 2020 15:51:01 +0200 Subject: [PATCH] Set the autocreate permission for Mediawiki users This allows LDAP sign ins to create an account automatically Fixes #219 --- site-cookbooks/kosmos-mediawiki/recipes/default.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/site-cookbooks/kosmos-mediawiki/recipes/default.rb b/site-cookbooks/kosmos-mediawiki/recipes/default.rb index deb263b..1f1ce8d 100644 --- a/site-cookbooks/kosmos-mediawiki/recipes/default.rb +++ b/site-cookbooks/kosmos-mediawiki/recipes/default.rb @@ -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 )