joomla/joomla-cms — pull request #2761 by pasamio (2014-01-06 17:37:49+00:00)
Title: Import the user plugins for onUserLoginFailure

The onUserLoginFailure trigger is a user plugin method however on the failure code path, it isn't loaded. So this changes that to put it on the main code path ahead of the failure check.