Merge "Add 'mediawiki.ui.button' CSS module"
[lhc/web/wiklou.git] / includes / specials / SpecialPreferences.php
index 5f4b208..51454f6 100644 (file)
@@ -37,7 +37,7 @@ class SpecialPreferences extends SpecialPage {
                $out = $this->getOutput();
                $out->disallowUserJs(); # Prevent hijacked user scripts from sniffing passwords etc.
 
-               $this->requireLogin( 'prefsnologintext2', 'prefsnologin' );
+               $this->requireLogin( 'prefsnologintext2' );
                $this->checkReadOnly();
 
                if ( $par == 'reset' ) {