https://bugzilla.wikimedia.org/show_bug.cgi?id=30671

Jeroen De Dauw <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Jeroen De Dauw <[email protected]> 2011-11-11 
13:37:46 UTC ---
I looked at this a bit, and although I'm not sure, I suspect the issue is this
check:

if ( !$wgRequest->getCheck( 'wpCentralLogin' ) ) {
    // The user requested to log in just on this wiki
    return true;
}

Since the account creation page does not appear to have the wpCentralLogin
checkbox. Changing it to something like this might fix the issue:

if ( !$wgRequest->getCheck( 'wpCentralLogin' ) && !$wgRequest->getCheck(
'wpCreateaccount' ) ) {
    // The user requested to log in just on this wiki
    return true;
}

Apart from that the code looks valid to me; if I'm not mistaken the
onUserLoginComplete method should be getting called on account creation. To
many hooks and undocumented stuff to be sure without testing, which I'm not set
up for, though.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to