1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mediawiki_ynh.git synced 2024-09-03 19:46:05 +02:00

Allow LDAP and username/password login to co-exist

Closes https://github.com/YunoHost-Apps/mediawiki_ynh/issues/8.
This commit is contained in:
Luke Murphy 2019-08-07 12:49:12 +02:00
parent fafe924214
commit 2f18c35226

View file

@ -137,6 +137,8 @@ wfLoadExtension( 'LDAPProvider' );
# https://www.mediawiki.org/wiki/Extension:PluggableAuth # https://www.mediawiki.org/wiki/Extension:PluggableAuth
wfLoadExtension( 'PluggableAuth' ); wfLoadExtension( 'PluggableAuth' );
$wgPluggableAuth_EnableLocalLogin = true;
# LDAPAuthentication2 # LDAPAuthentication2
# https://www.mediawiki.org/wiki/Extension:LDAPAuthentication2 # https://www.mediawiki.org/wiki/Extension:LDAPAuthentication2
wfLoadExtension( 'LDAPAuthentication2' ); wfLoadExtension( 'LDAPAuthentication2' );