includes/auth/AuthManager.php 1 location
|
@@ 933-938 (lines=6) @@
|
| 930 |
|
$block->getByName() |
| 931 |
|
]; |
| 932 |
|
|
| 933 |
|
if ( $block->getType() === \Block::TYPE_RANGE ) { |
| 934 |
|
$errorMessage = 'cantcreateaccount-range-text'; |
| 935 |
|
$errorParams[] = $this->getRequest()->getIP(); |
| 936 |
|
} else { |
| 937 |
|
$errorMessage = 'cantcreateaccount-text'; |
| 938 |
|
} |
| 939 |
|
|
| 940 |
|
return Status::newFatal( wfMessage( $errorMessage, $errorParams ) ); |
| 941 |
|
} |
includes/specials/pre-authmanager/SpecialUserlogin.php 1 location
|
@@ 1345-1350 (lines=6) @@
|
| 1342 |
|
$block->getByName() |
| 1343 |
|
]; |
| 1344 |
|
|
| 1345 |
|
if ( $block->getType() === Block::TYPE_RANGE ) { |
| 1346 |
|
$errorMessage = 'cantcreateaccount-range-text'; |
| 1347 |
|
$errorParams[] = $this->getRequest()->getIP(); |
| 1348 |
|
} else { |
| 1349 |
|
$errorMessage = 'cantcreateaccount-text'; |
| 1350 |
|
} |
| 1351 |
|
|
| 1352 |
|
throw new ErrorPageError( |
| 1353 |
|
'cantcreateaccounttitle', |