47 if ( isset(
$params[
'blockDisablesLogin'] ) ) {
48 $this->blockDisablesLogin = (bool)
$params[
'blockDisablesLogin'];
64 if ( !$this->blockDisablesLogin ) {
67 $block = $user->getBlock();
70 if ( $block && $block->isSitewide() && $block->isBlocking( $user ) ) {
72 new Message(
'login-userblocked', [ $user->getName() ] )
array $params
The job parameters.
A class containing constants representing the names of configuration variables.
const BlockDisablesLogin
Name constant for the BlockDisablesLogin setting, for use with Config::get()