From 2f18c35226b2e7222280998c590504e78c5b2235 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Wed, 7 Aug 2019 12:49:12 +0200 Subject: [PATCH] Allow LDAP and username/password login to co-exist Closes https://github.com/YunoHost-Apps/mediawiki_ynh/issues/8. --- conf/LocalSettings.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/LocalSettings.php b/conf/LocalSettings.php index 0a1292b..5baee38 100644 --- a/conf/LocalSettings.php +++ b/conf/LocalSettings.php @@ -137,6 +137,8 @@ wfLoadExtension( 'LDAPProvider' ); # https://www.mediawiki.org/wiki/Extension:PluggableAuth wfLoadExtension( 'PluggableAuth' ); +$wgPluggableAuth_EnableLocalLogin = true; + # LDAPAuthentication2 # https://www.mediawiki.org/wiki/Extension:LDAPAuthentication2 wfLoadExtension( 'LDAPAuthentication2' );