diff --git a/core/modules/user/lib/Drupal/user/Form/UserPasswordForm.php b/core/modules/user/lib/Drupal/user/Form/UserPasswordForm.php old mode 100644 new mode 100755 index 2a84aae..c945b81 --- a/core/modules/user/lib/Drupal/user/Form/UserPasswordForm.php +++ b/core/modules/user/lib/Drupal/user/Form/UserPasswordForm.php @@ -151,7 +151,7 @@ public function validateForm(array &$form, array &$form_state) { } } else { - $this->setFormError('name', $form_state, $this->t('Reset password limit exceeded. Please contact technical support for further assistance.')); + $this->setFormError('name', $form_state, $this->t('Sorry, there were to many failed password recovery attempts for this account. Check your e-mail and use one of the password reset instructions from there.')); } } diff --git a/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php b/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php old mode 100644 new mode 100755 index 718bcf8..75a2980 --- a/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php @@ -168,7 +168,7 @@ public function assertPasswordReset($name, $valid_trigger = TRUE, $flood_trigger $this->drupalPostForm(NULL, $edit, t('E-mail new password')); if ($flood_trigger) { - $this->assertText(t('Reset password limit exceeded. Please contact technical support for further assistance.'), 'Flood error message shown.'); + $this->assertText(t('Sorry, there were to many failed password recovery attempts for this account. Check your e-mail and use one of the password reset instructions from there.'), 'Flood error message shown.'); } else { if ($valid_trigger) {