Change Log
Version 2.0.4
- Fixed all errors in regards to usermodel.php model file.
Version 2.0.3
- Removed calls to random.org
- Moved logout function to library file from the extended MY_Controller.php file.
- Declared functions as private or public.
- Added a call to load the auth helper to fix "not authenticated" dashboard errors.
- Fixed a problem where multiple sessions would be created.
- Changed example admin file constructor.
Version 2.0.2
- Title of Admin Panel now reads "Control Panel"
- Added the library to getsparks.org and added a sparks.info file.
Version 2.0.1
- Title of Admin Panel now reads "Control Panel"
- Cleaned up library & added license & author info to the top of most of the files.
Version 2.0.0
This version is a major release and is incompatible with version 1 installations. Do not upgrade your installations to version 2, unless you keep the old salting methods; as we have updated the salt methods to provide a more secure password hash.
- Now compatible with CodeIgniter 2.0.0 +
- Moved almost all of the logic to the MY_Controller.php file to allow for processing of logins outside of the pre-made forms.
Version 1.0.6
- Fixed a bug where there was a conflict throughout AG Auth where sometimes the group ID was referenced as group but in other places it was referenced as group_id. The correct term is now group_id.
- Added configurable database table names.
- Added configurable views, controllers and models paths.
- Added utility variables to allow for easy path generation.
- Made subsequent changes to the user guide to reflect all changes made.
- Added a section to the user guide about building on top of the admin panel.
Version 1.0.5
- Licensed AG Auth under MIT.
- Created auth_helper.php
- Added administration panel
Version 1.0.4
- Fixed issue regarding incorrect permissions determined by the restrict() function
Version 1.0.3
- Removed miscellaneous occurrences of var_dump();
- Simplified syntax in _verify_cookie() whilst using userdata
- Fixed general error - replaced elseif with if.
Version 1.0.2
- Fixed support for PHP4
- Added second parameter to restrict function to restrict access to only the user group provided.
- Added config value to decide whether or not to remember users - TRUE by default
- Fixed bug where using session_destroy() instead of $this->CI->session->sess_destroy();
- Fixed error in dump.sql where users were set as admin by default, now user (100)
- Added an upgrade.sql for upgrading to the newest version.
- May have fixed error where .DS_Store files were included in download zip
- Fixed link in comments, now reads http://programmersvoice.com
- Removed reference to freshpowered.com
Version 1.0.1
- Bug which didn’t keep the user logged in after registration
- Fixed an error where username was not entered into database upon registration
- General error regarding “funny” style quote marks
- General cleanup
Version 1.0
- The Auth Library now makes use of the Form Validation class built into CodeIgniter 1.7.0+, if you’re using an older version of CI, please upgrade, or use the previous Auth Library.
- The code is much more compact, cleaner and easier to understand.
- All dependancies are loaded within the library, no need for autoloading.
- I have made use of language files to make changing the error messages etc easier.
- There is a strong username and password policy server side (no less than 4 characters, no more than 40).
- You are now able to log in using either a username or your email.
- Database queries are hard-coded. No use of active record means faster queries.
- Maximum number of failed login attempts. If you type in the wrong password 5 times, you cannot login for 15 minutes.
- Secure remember me function. Essentially unbreakable.
- You do not need to write any additional code to get a fully functional authentication system.