https://bugzilla.wikimedia.org/show_bug.cgi?id=30671
--- Comment #4 from Reedy <[email protected]> 2011-09-23 20:50:22 UTC --- (In reply to comment #2) > Hmm, this was always meant to work -- either it's a regression or nobody > noticed for a few years. :) Quick look at the code that is in the CentralAuthHooks::onUserLoginComplete hook... $inject_html .= '<div class="centralauth-login-box"><p>' . wfMsgExt( 'centralauth-login-progress', array( 'parsemag' ), $user->getName() ) . "</p>\n<p>"; foreach ( $wgCentralAuthAutoLoginWikis as $alt => $wiki ) { $data = array( 'userName' => $user->getName(), 'token' => $centralUser->getAuthToken(), 'remember' => $user->getOption( 'rememberpassword' ), 'wiki' => $wiki ); $loginToken = wfGenerateToken( $centralUser->getId() ); global $wgMemc; $wgMemc->set( CentralAuthUser::memcKey( 'login-token', $loginToken ), $data, 600 ); $wiki = WikiMap::getWiki( $wiki ); $url = wfAppendQuery( $wiki->getUrl( 'Special:AutoLogin' ), "token=$loginToken" ); $inject_html .= Xml::element( 'img', array( 'src' => $url, 'alt' => $alt, 'title' => $alt, 'width' => 20, 'height' => 20, 'style' => 'border: 1px solid #ccc;', ) ); } $inject_html .= '</p></div>'; Seemingly that needs refactoring out/duplicating to a subscriber to CentralAuthHooks::onAddNewAccount But we don't have an as "nice" way of injecting the HTML back -- 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
