public function onSuccess() {
$this->getOutput()->wrapWikiMsg(
- "<div class='successbox'>\n$1\n</div>",
+ Html::successBox( '$1' ),
'resettokens-done'
);
}
* @param HTMLForm $form
*/
protected function alterForm( HTMLForm $form ) {
+ $form->setSubmitDestructive();
if ( $this->getTokensList() ) {
$form->setSubmitTextMsg( 'resettokens-resetbutton' );
} else {