Revert "Special:Preferences: Use OOjs UI" and follow-ups
[lhc/web/wiklou.git] / includes / specials / SpecialPasswordReset.php
index bf8dea6..a4f16bd 100644 (file)
@@ -110,8 +110,6 @@ class SpecialPasswordReset extends FormSpecialPage {
        public function alterForm( HTMLForm $form ) {
                $resetRoutes = $this->getConfig()->get( 'PasswordResetRoutes' );
 
-               $form->setSubmitDestructive();
-
                $form->addHiddenFields( $this->getRequest()->getValues( 'returnto', 'returntoquery' ) );
 
                $i = 0;