[Mediawiki-l] autoAuthenticate to UserLoadFromSession issues
Lane, Ryan
Ryan.Lane at ocean.navo.navy.mil
Tue Sep 30 21:47:26 UTC 2008
> I'm trying to modify my extension to account for the autoAuthenticate
> -> UserLoadFromSession change (moving SpecialUserlogin.php out of the
> include path was also a surprise).
>
> The problem is user info in the upper right nav, for the front page
> only, does not update when I create a LoginForm and do initUser in the
> UserLoadFromSession handler.
>
> What do I have to do to tell the front page that the user's identity
> has changed?
>
> Has anything else has changed WRT non-username/password
> authentication?
>
This is a fairly difficult change IMO. You can take a look at how I did
it in the LDAP authentication plugin (see LdapAutoAuthentication.php):
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/LdapAuthentic
ation/
Notice that portions of this are currently broken; see bug 14178:
https://bugzilla.wikimedia.org/show_bug.cgi?id=14178
V/r,
Ryan Lane
More information about the MediaWiki-l
mailing list