On 11 January 2012 21:51, Daniel Barrett
<danb(a)vistaprint.com> wrote:
> * Remove any trailing
"(a)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(a)companyname.com".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