When there is a login failure reported by Joomla (it calls the plugin event onUserLoginFailure
) we collect the IP address from the request variable username. This will be displayed in the email you receive next to the blocking reason. That is to say, it would look like that (that's from a real email I received testing this just now):
Reason: Login failure (Username: nicholas)
However, please remember that Joomla will call the plugin event onUserLoginFailure
when any login attempt fails, not just when an interactive login fails. For example, this will be issued when the Remember Me plugin fails to log the user into the site, or when a third party authentication plugin fails to authenticate the user. In those cases there will be no request variable called username
, therefore no username will be logged.
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!