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.
When trying to login a user with a special password for example: Password@123, the script would return an error saying the password was wrong.
I removed "or !ctype_alnum($pass)" from the login section which allows users to login and register with html chars in their passwords.