r61667 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61666‎ | r61667 | r61668 >
Date:16:45, 29 January 2010
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Followup to 61664

Support LoginForm::UserBlocked in ApiLogin
Modified paths:
  • /trunk/phase3/includes/api/ApiLogin.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiLogin.php
@@ -124,6 +124,10 @@
125125 $result['result'] = 'Throttled';
126126 $result['wait'] = intval( $wgPasswordAttemptThrottle['seconds'] );
127127 break;
 128+
 129+ case LoginForm :: USER_BLOCKED :
 130+ $result['result'] = 'Blocked';
 131+ break;
128132
129133 default :
130134 ApiBase :: dieDebug( __METHOD__, "Unhandled case value: {$authRes}" );

Comments

#Comment by Reedy (talk | contribs)   00:56, 30 January 2010

r61664 that is

Status & tagging log