Commit e93d9a70 authored by Navneet Singh's avatar Navneet Singh Committed by Navneet Singh
Browse files

Merge pull request #2694 from goalgorilla/feature/3258139-invalid-username-password-login-screen

Issue #3258139 by CurriedN, hitesh-jain, tbsiqueira: Invalid user name/password on login screen throws website error
parent 22d195c6
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/social_features/social_user/src/Form/SocialUserLoginForm.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ class SocialUserLoginForm extends UserLoginForm {
          <li>Too many failed login attempts from your computer (IP address). This IP address is temporarily blocked. </li>
        </ul>
        <p>To solve the issue, try using different login information, try again later, or <a href=":url">request a new password</a></p>',
      ['%name_or_email' => $form_state->getValue('name_or_mail'), ':url' => Url::fromRoute('user.pass')]));
      ['%name_or_email' => $form_state->getValue('name_or_mail'), ':url' => Url::fromRoute('user.pass')->toString()]));
  }

}