Fix typo on resetAuthenticationThrottle.php error message

Bug: T251484
Change-Id: I6c6306d475907adfdbea9d5d6c595da3e31a22e0
This commit is contained in:
Taavi Väänänen 2020-04-30 09:46:59 +03:00
parent 89d80bf518
commit cd3093226e

View file

@ -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 ) ) {