nologpass
Component type
Maintenance status
Development status
Component created
Component changed
It is common for users to accidentally enter their password in the username field of login forms. Often, the username field will have something like this when it is submitted: `usernamepassword`. By default, Drupal stores these failed login attempts in the watchdog table. Effectively, this stores passwords in plain text in the database and allows users with `access site reports` to see them.
This module adds an extra check before writing this message to the table. If the provided username is not a valid user, the IP address is stored instead of the username field.
