You are here

protected function LoginSecurityUserBlockingTest::getDefaultDrupalLoginErrorMessage in Login Security 2.x

Returns the default Drupal Login error message.

1 call to LoginSecurityUserBlockingTest::getDefaultDrupalLoginErrorMessage()
LoginSecurityUserBlockingTest::testDrupalErrorToggle in tests/src/Functional/LoginSecurityUserBlockingTest.php
Test disable core login error toggle.

File

tests/src/Functional/LoginSecurityUserBlockingTest.php, line 61

Class

LoginSecurityUserBlockingTest
Test Login Security's user-blocking restrictions and default messages.

Namespace

Drupal\Tests\login_security\Functional

Code

protected function getDefaultDrupalLoginErrorMessage() {
  return 'Unrecognized username or password.';
}