X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialResetTokens.php;h=d5b09035887b47dddb720c55b25aff94f3302db7;hb=fa0f6f34972c0e0f4aac24a03b3efdfc45f256f6;hp=964a261a6b1b534425634467eb3fa3112504737c;hpb=9a6b2a4fffb82840d0bf780eb4ecb873ad64fa54;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialResetTokens.php b/includes/specials/SpecialResetTokens.php index 964a261a6b..d5b0903588 100644 --- a/includes/specials/SpecialResetTokens.php +++ b/includes/specials/SpecialResetTokens.php @@ -121,6 +121,7 @@ class SpecialResetTokens extends FormSpecialPage { * @param HTMLForm $form */ protected function alterForm( HTMLForm $form ) { + $form->setSubmitDestructive(); if ( $this->getTokensList() ) { $form->setSubmitTextMsg( 'resettokens-resetbutton' ); } else {