diff --git a/core/modules/user/lib/Drupal/user/Form/UserPasswordResetForm.php b/core/modules/user/lib/Drupal/user/Form/UserPasswordResetForm.php index ddecce4..add599e 100644 --- a/core/modules/user/lib/Drupal/user/Form/UserPasswordResetForm.php +++ b/core/modules/user/lib/Drupal/user/Form/UserPasswordResetForm.php @@ -65,7 +65,6 @@ public function buildForm(array $form, array &$form_state, AccountInterface $use $form['help'] = array('#markup' => '

' . $this->t('This login can be used only once.') . '

'); $form['actions'] = array('#type' => 'actions'); $form['actions']['submit'] = array('#type' => 'submit', '#value' => $this->t('Log in')); - $form['#action'] = $this->url('user.reset', array('uid' => $user->id(), 'timestamp' => $timestamp, 'hash' => $hash)); return $form; }