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 9a4a07b4ee
commit 208f550d2c
No known key found for this signature in database
GPG key ID: 5E2EF5A63E3718CC

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' );