Problem/Motivation
The module does not currently track login attempts if the supplied username does not match a valid user. This limits its effectiveness in detecting and preventing attacks that are trying a range of possible account names. Being able to detect these and block the IP address would be a useful feature.
Also, if the system is configured to show remaining login attempts, it is easy for an attacker to determine which usernames are valid unless invalid usernames are treated identically.
Proposed resolution
Have the login attempt for invalid usernames recorded in the same manner as valid ones.
Issue fork login_security-3292972
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jayelless commentedOnly a simple change required to implement this feature request. Change made and pushed. Merge request opened.
Comment #5
anybodyThanks @jlscott please have a look, shouldn't the
return;functionality be kept?Comment #6
anybodyClosing this as duplicate of #3050099: Wrong Message if User doesn't exist in the system