Manual:Hooks/LoginUserMigrated

Details
This allows providing a reason to the user why their username doesn't exist, instead of letting the login form give the generic error message that the account does not exist. For example, when the account has been renamed or deleted.


 * : The User object being authenticated against.
 * : The message identifier for abort reason, or an array to pass a message key and parameters.