/** @var PasswordReset */
private $passwordReset = null;
- /**
- * @var string[] Temporary storage for the passwords which have been sent out, keyed by username.
- */
- private $passwords = [];
-
/**
* @var Status
*/
public function alterForm( HTMLForm $form ) {
$resetRoutes = $this->getConfig()->get( 'PasswordResetRoutes' );
+ $form->setSubmitDestructive();
+
$form->addHiddenFields( $this->getRequest()->getValues( 'returnto', 'returntoquery' ) );
$i = 0;