r111947 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111946‎ | r111947 | r111948 >
Date:18:20, 20 February 2012
Author:platonides
Status:ok (Comments)
Tags:
Comment:
Show the username instead of 'The username $1 is not registered on this wiki, but it does exist in the unified login system.'
Modified paths:
  • /trunk/extensions/CentralAuth/CentralAuthHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralAuth/CentralAuthHooks.php
@@ -131,7 +131,7 @@
132132 if( !$firstUser->getID() ) {
133133 $centralUser = CentralAuthUser::getInstance( $firstUser );
134134 if ( $centralUser->exists() ) {
135 - $abortError = array( 'centralauth-account-exists-reset' );
 135+ $abortError = array( 'centralauth-account-exists-reset', $centralUser->getName() );
136136 return false;
137137 }
138138 }

Sign-offs

UserFlagDate
Nikerabbitinspected18:39, 20 February 2012

Follow-up revisions

RevisionCommit summaryAuthorDate
r112023MFT r111698, r111780, r111947reedy17:01, 21 February 2012

Comments

#Comment by Reedy (talk | contribs)   19:52, 20 February 2012

lol.

Status & tagging log