Topic on Extension talk:PluggableAuth

How to show a domain selector for multi domian login , while with only one login button?

1
Qyingy (talkcontribs)

I have multi domian for login ,but when I use $wgPluggableAuth_Config like this, I have two login button with the name as "Login1" and "Login2" for differrent domain login.

I want to show only one login button, to login with different domain which contain local domain.


$wgPluggableAuth_Config['Login1'] = [

   'plugin' => 'LDAPAuthentication2',

   'data' => [

           'domain' => 'LDAP0'

   ]

];

$wgPluggableAuth_Config['Login2'] = [

   'plugin' => 'LDAPAuthentication2',

   'data' => [

       'domain' => 'LDAP1'

   ],

];

LDAPAuthentication2 2.0.9 (1ca14ce) GPL-2.0
LDAPProvider 2.0.7 (5f0b37f) GPL-2.0+
LoginNotify 0.1 MIT
PluggableAuth 7.1.0 (4111a57)
Reply to "How to show a domain selector for multi domian login , while with only one login button?"