On 12 January 2012 02:47, Daniel Barrett danb@vistaprint.com wrote:
On 11 January 2012 21:51, Daniel Barrett danb@vistaprint.com wrote:
- Remove any trailing "@companyname.com" from the username. Users in
our company are accustomed to logging in this way on
their Windows boxes, and we'd get several support calls per week from
people who "can't log into the wiki" because they
were adding @companyname.com onto their wiki usernames.
The way we do it on our Mantis bugtracker is to use the LDAP server for all logins. Something like that for MediaWiki would do the job too. One password!
Yes, we use the LDAPAuthentication extension for MediaWiki. But usernames on the login page still must be "foo" rather than "foo@companyname.com". Hence the JavaScript to remove @.*.
DanB
Of course, if the login form code wasn't such a swamp, there'd be a hook you could use to preprocess the usernames server-side... :-(
--HM