This fixes a non existing error message if all authentication methods fail. Line 352 is calling <pre>aauth_error_login_failed</pre> but that is not in the lang line. This fix tries to match the naming used by the OP i.e. aauth_error_login_failed_xxx where xxx is the error (email/password).
added `login_with_name` config item
renamed `aauth_error_login_failed` to `aauth_error_login_failed_email` in lang file
added `aauth_error_login_failed_name` in lang file
changed in login function `$email` to `$identifier`
Fixed bug where as adding an error or info to flash data would result
in all errors/infos being added to the flash data. Two temporary
arrays were used to store current flash data and are used to update
the flash data correctly as errors/info are added to flash data.
Modified lang-file constants to include prefix. This will help avoid collisions.
Also added a few missing items to the lang-file.
Modified list_user_var_keys() to return an array so that it can be looped through.
Fixed duplicate message when sending password reset email, line 424.
modified: application/language/english/aauth_lang.php
modified: application/libraries/Aauth.php
Fixed an issue with is_allowed that would cause it to return true
if the permission name passed in did not exist and the user had access
to permission ID 1. Changed get_perm_id() to return NULL instead of FALSE.
This fixed the above issue.
After further analysis of how error and info messages were being used
and how they were likely to be implemented, I changed the default to
NOT use CI Flashdata by default.