return Status::newFatal( 'botpasswords-locked' );
}
- // Throttle
$throttle = null;
if ( !empty( $wgPasswordAttemptThrottle ) ) {
$throttle = new MediaWiki\Auth\Throttler( $wgPasswordAttemptThrottle, [
return self::loginHook( $user, $bp,
Status::newFatal( 'botpasswords-needs-reset', $name, $appId ) );
}
- if ( !$passwordObj->equals( $password ) ) {
+ if ( !$passwordObj->verify( $password ) ) {
return self::loginHook( $user, $bp, Status::newFatal( 'wrongpassword' ) );
}