Index: trunk/phase3/includes/specials/SpecialUserlogin.php |
— | — | @@ -291,7 +291,7 @@ |
292 | 292 | |
293 | 293 | # Check permissions |
294 | 294 | if ( !$wgUser->isAllowed( 'createaccount' ) ) { |
295 | | - $this->userNotPrivilegedMessage(); |
| 295 | + $this->userNotPrivilegedMessage( 'createaccount' ); |
296 | 296 | return false; |
297 | 297 | } elseif ( $wgUser->isBlockedFromCreateAccount() ) { |
298 | 298 | $this->userBlockedMessage(); |