Fix typo on resetAuthenticationThrottle.php error message
Bug: T251484 Change-Id: I6c6306d475907adfdbea9d5d6c595da3e31a22e0
This commit is contained in:
parent
89d80bf518
commit
cd3093226e
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class ResetAuthenticationThrottle extends Maintenance {
|
|||
if ( !$forLogin && !$forSignup ) {
|
||||
$this->fatalError( 'At least one of --login and --signup is required!' );
|
||||
} elseif ( $forLogin && ( $ip === null || $username === null ) ) {
|
||||
$this->fatalError( '--usename and --ip are both required when using --login!' );
|
||||
$this->fatalError( '--user and --ip are both required when using --login!' );
|
||||
} elseif ( $forSignup && $ip === null ) {
|
||||
$this->fatalError( '--ip is required when using --signup!' );
|
||||
} elseif ( $ip !== null && !IPUtils::isValid( $ip ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue