Index: trunk/phase3/includes/api/ApiLogin.php |
— | — | @@ -124,6 +124,10 @@ |
125 | 125 | $result['result'] = 'Throttled'; |
126 | 126 | $result['wait'] = intval( $wgPasswordAttemptThrottle['seconds'] ); |
127 | 127 | break; |
| 128 | + |
| 129 | + case LoginForm :: USER_BLOCKED : |
| 130 | + $result['result'] = 'Blocked'; |
| 131 | + break; |
128 | 132 | |
129 | 133 | default : |
130 | 134 | ApiBase :: dieDebug( __METHOD__, "Unhandled case value: {$authRes}" ); |